coreboot-kgpe-d16/src/mainboard/tyan
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
..
s1846 Move top level pc80 directory to drivers/ 2012-04-27 19:23:16 +02:00
s2735 Drop CONFIG_MAX_PHYSICAL_CPUS on non-AMD boards 2012-05-01 21:20:21 +02:00
s2850 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2875 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2880 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2881 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2882 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2885 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2891 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2892 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2895 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2912 Clean up #ifs 2012-05-08 00:34:34 +02:00
s2912_fam10 Clean up #ifs 2012-05-08 00:34:34 +02:00
s4880 Clean up #ifs 2012-05-08 00:34:34 +02:00
s4882 Clean up #ifs 2012-05-08 00:34:34 +02:00
Kconfig Use subsystem id from devicetree.cb instead of Kconfig and move 2011-03-01 19:58:47 +00:00