coreboot-kgpe-d16/src/southbridge/sis/sis966
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
..
aza.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
bootblock.c Add TINY_BOOTBLOCK support for the SiS966 southbridge. 2010-12-16 19:57:54 +00:00
chip.h Please bear with me - another rename checkin. This qualifies as trivial, no 2008-01-18 10:35:56 +00:00
early_ctrl.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
early_setup_car.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
early_setup_ss.h first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
early_smbus.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
enable_usbdebug.c * Set USBDEBUG_DEFAULT_PORT in all southbridges and use that value 2011-04-18 23:51:12 +00:00
ide.c Clean up #ifs 2012-05-08 00:34:34 +02:00
Kconfig sis/sis966: Move HAVE_HARD_RESET to southbridge 2012-02-17 22:41:46 +01:00
lpc.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
Makefile.inc Fix usb debug dongle support 2011-10-31 04:06:10 +01:00
nic.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
pcie.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
reset.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
romstrap.inc Please bear with me - another rename checkin. This qualifies as trivial, no 2008-01-18 10:35:56 +00:00
romstrap.lds drop incorrectly used CONFIG_ROM_IMAGE_SIZE and unused CONFIG_ARCH 2011-04-14 20:21:49 +00:00
sata.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
sis761.c Convert some comments to proper Doxygen syntax. 2010-10-26 22:46:43 +00:00
sis966.c coreboot-v2: drop this ugly historic union name in v2 that was dropped in v3 2009-02-28 20:10:20 +00:00
sis966.h Fix usb debug dongle support 2011-10-31 04:06:10 +01:00
smbus.h first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
usb.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
usb2.c cosmetic cleanup of sis966 usb2 code 2011-04-14 20:10:27 +00:00