coreboot-kgpe-d16/src/mainboard/supermicro
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
..
h8dme Clean up #ifs 2012-05-08 00:34:34 +02:00
h8dmr Clean up #ifs 2012-05-08 00:34:34 +02:00
h8dmr_fam10 Clean up #ifs 2012-05-08 00:34:34 +02:00
h8qgi Clean up #ifs 2012-05-08 00:34:34 +02:00
h8qme_fam10 Clean up #ifs 2012-05-08 00:34:34 +02:00
h8scm_fam10 Clean up #ifs 2012-05-08 00:34:34 +02:00
x6dai_g Move top level pc80 directory to drivers/ 2012-04-27 19:23:16 +02:00
x6dhe_g Move top level pc80 directory to drivers/ 2012-04-27 19:23:16 +02:00
x6dhe_g2 Unify Local APIC address definitions 2012-03-08 15:39:05 +01:00
x6dhr_ig Unify Local APIC address definitions 2012-03-08 15:39:05 +01:00
x6dhr_ig2 Unify Local APIC address definitions 2012-03-08 15:39:05 +01:00
Kconfig Add the SuperMicro H8QGI platform 2011-07-22 19:58:55 +02:00