coreboot/src/cpu/amd
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
..
agesa Clean up #ifs 2012-05-08 00:34:34 +02:00
car Clean up #ifs 2012-05-08 00:34:34 +02:00
dualcore Clean up #ifs 2012-05-08 00:34:34 +02:00
geode_gx1 AMD Geode cpus: apply un-written naming rules 2012-02-13 21:56:38 +01:00
geode_gx2 Move VSA support from x86 to Geode 2012-05-01 11:35:40 +02:00
geode_lx Move VSA support from x86 to Geode 2012-05-01 11:35:40 +02:00
microcode Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
model_10xxx Clean up #ifs 2012-05-08 00:34:34 +02:00
model_fxx Clean up #ifs 2012-05-08 00:34:34 +02:00
mtrr Clean up #ifs 2012-05-08 00:34:34 +02:00
quadcore Change read_option() to a macro that wraps some API uglyness 2011-05-10 21:53:13 +00:00
sc520 Move top level pc80 directory to drivers/ 2012-04-27 19:23:16 +02:00
smm Make AMD SMM SMP aware 2011-07-13 02:01:35 +02:00
socket_754 SMM for AMD K8 Part 1/2 2010-12-18 23:29:37 +00:00
socket_939 SMM for AMD K8 Part 1/2 2010-12-18 23:29:37 +00:00
socket_940 SMM for AMD K8 Part 1/2 2010-12-18 23:29:37 +00:00
socket_AM2 SMM for AMD K8 Part 1/2 2010-12-18 23:29:37 +00:00
socket_AM2r2 Remove XIP_ROM_BASE 2011-11-01 19:06:23 +01:00
socket_AM3 Remove XIP_ROM_BASE 2011-11-01 19:06:23 +01:00
socket_ASB2 Remove XIP_ROM_BASE 2011-11-01 19:06:23 +01:00
socket_C32 Remove XIP_ROM_BASE 2011-11-01 19:06:23 +01:00
socket_F SMM for AMD K8 Part 1/2 2010-12-18 23:29:37 +00:00
socket_F_1207 Remove XIP_ROM_BASE 2011-11-01 19:06:23 +01:00
socket_S1G1 SMM for AMD K8 Part 1/2 2010-12-18 23:29:37 +00:00
Kconfig AMD Geode cpus: apply un-written naming rules 2012-02-13 21:56:38 +01:00
Makefile.inc Rename AMD_AGESA to CPU_AMD_AGESA 2012-03-16 22:40:35 +01:00