coreboot-kgpe-d16/src/arch/x86/lib
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
..
c_start.S Unify use of post_code 2011-04-11 20:17:22 +00:00
cbfs_and_run.c Clean up #ifs 2012-05-08 00:34:34 +02:00
cpu.c Factor out function to find driver for a CPU 2012-04-06 02:13:12 +02:00
ebda.c Don't re-init EBDA in S3 resume path. 2012-03-30 17:52:11 +02:00
exception.c Clean up #ifs 2012-05-08 00:34:34 +02:00
id.inc Add coreboot version to id area 2012-01-18 11:22:06 +01:00
id.lds drop incorrectly used CONFIG_ROM_IMAGE_SIZE and unused CONFIG_ARCH 2011-04-14 20:21:49 +00:00
ioapic.c Unbreak boards where chipset can select between FSB and serial APIC bus 2012-04-23 00:48:22 +02:00
Makefile.inc Use fast memset in SMM mode, too 2012-04-04 19:45:10 +02:00
memcpy.c Fix issues with x86 memcpy 2012-03-31 20:26:20 +02:00
memset.c Add native memset() function on x86 2012-03-30 00:57:24 +02:00
pci_ops_auto.c Make PCI CONF2 support a compile time option 2012-03-30 17:45:53 +02:00
pci_ops_conf1.c Clean up #ifs 2012-05-08 00:34:34 +02:00
pci_ops_conf2.c pci_ops_conf: Indentation fixes 2012-01-24 22:45:32 +01:00
pci_ops_mmconf.c pci_ops_mmconf: Move conditional compilation to Makefile 2012-01-26 22:15:19 +01:00
romcc_console.c CBMEM CONSOLE: Add code using the new console driver. 2012-03-29 20:14:52 +02:00
romstage_console.c Detect whether the OXPCIE card is really present while in the ROM stage. 2012-03-29 23:04:06 +02:00
stages.c After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
walkcbfs.S add some comments to walkcbfs.S 2011-04-14 20:33:53 +00:00