coreboot-kgpe-d16/src/mainboard/iei/kino-780am2-fam10
Patrick Georgi e166782f39 Clean up #ifs
Replace #if CONFIG_FOO==1 with #if CONFIG_FOO:
find src -name \*.[ch] -exec sed -i "s,#if[[:space:]]*\(CONFIG_[A-Z0-9_]*\)[[:space:]]*==[[:space:]]*1[[:space:]]*\$,#if \1," {} +

Replace #if (CONFIG_FOO==1) with #if CONFIG_FOO:
find src -name \*.[ch] -exec sed -i "s,#if[[:space:]]*(\(CONFIG_[A-Z0-9_]*\)[[:space:]]*==[[:space:]]*1)[[:space:]]*\$,#if \1," {} +

Replace #if CONFIG_FOO==0 with #if !CONFIG_FOO:
find src -name \*.[ch] -exec sed -i "s,#if[[:space:]]*\(CONFIG_[A-Z0-9_]*\)[[:space:]]*==[[:space:]]*0[[:space:]]*\$,#if \!\1," {} +

Replace #if (CONFIG_FOO==0) with #if !CONFIG_FOO:
find src -name \*.[ch] -exec sed -i "s,#if[[:space:]]*(\(CONFIG_[A-Z0-9_]*\)[[:space:]]*==[[:space:]]*0)[[:space:]]*\$,#if \!\1," {} +

(and some manual changes to fix false positives)

Change-Id: Iac6ca7605a5f99885258cf1a9a2473a92de27c42
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/1004
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Martin Roth <martin@se-eng.com>
2012-05-08 00:34:34 +02:00
..
acpi IEI Kino Fam10 ACPI table fixes. 2012-02-20 05:34:59 +01:00
acpi_tables.c Refactor some alignment handling 2012-04-20 21:18:02 +02:00
chip.h
cmos.layout
devicetree.cb Kino devicetree.cb SIO PNP devices were not matched up with the 2011-02-28 02:36:15 +00:00
dsdt.asl ACPI: More ../../.. removal 2012-02-22 22:16:15 +01:00
get_bus_conf.c Clean up #ifs 2012-05-08 00:34:34 +02:00
irq_tables.c Convert boards to use mptable_write_buses. 2010-11-21 14:40:09 +00:00
Kconfig amd/sb700: Move HAVE_HARD_RESET to southbridge 2012-02-17 22:41:52 +01:00
mainboard.c Clean up #ifs 2012-05-08 00:34:34 +02:00
mb_sysconf.h
mptable.c Clean up #ifs 2012-05-08 00:34:34 +02:00
resourcemap.c
romstage.c Clean up #ifs 2012-05-08 00:34:34 +02:00