coreboot/src/mainboard
Martin Roth 6ba49ea250 UPSTREAM: mb/lenovo/s230u: Fix USBDEBUG check
- Change preprocessor #if to standard C if.  This will get optimized
out if the config option is disabled, but lets the compiler check the
contents.
- CONFIG_USBDEBUG is always going to be defined even if it's disabled,
so this check is not going to work as expected.
See the coreboot Kconfig documentation in /Documentation/core/Kconfig.md

BUG=none
BRANCH=none
TEST=none

Change-Id: I57ae98d60f240b92d1e2fd9146c95c2928631db5
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5ef5c00704
Original-Change-Id: Ia63438d9525e79307d9229ad3ffa2962978611d8
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/18974
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Tested-by: build bot (Jenkins)
Reviewed-on: https://chromium-review.googlesource.com/459506
2017-03-29 09:06:49 -07:00
..
a-trend
aaeon UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
abit
adi UPSTREAM: mainboards: Dont select POST_IO 2017-03-22 10:08:23 -07:00
adlink
advansus UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
amd UPSTREAM: binaryPI boards: Drop any ACPI S3 support 2017-03-08 05:13:02 -08:00
aopen UPSTREAM: aopen/dxplplusu: Switch to 2MiB flash 2017-01-13 18:41:57 -08:00
apple UPSTREAM: mb/apple/macbook11,macbook21,imac52: Remove per board directories 2017-03-22 10:08:20 -07:00
artecgroup UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
asrock UPSTREAM: asrock/e350m1: Include ASL for PS/2 controller 2017-03-17 11:06:50 -07:00
asus UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
avalue UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
azza
bachmann UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
bap UPSTREAM: binaryPI boards: Drop any ACPI S3 support 2017-03-08 05:13:02 -08:00
bcom
bifferos
biostar UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
broadcom UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
compaq
cubietech
digitallogic UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
dmp
ecs
elmex UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
emulation UPSTREAM: emulation/qemu-i440fx: Use SMBIOS macros 2017-03-22 10:08:21 -07:00
esd UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
getac UPSTREAM: mb/getac/p470: Do not select EARLY_CBMEM_INIT 2017-03-06 07:04:37 -08:00
gigabyte UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
gizmosphere UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
google UPSTREAM: mainboard/google/snappy: Update DPTF settings 2017-03-27 13:29:06 -07:00
hp UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
ibase UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
iei UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
intel UPSTREAM: mainboards: Dont select CONSOLE_POST 2017-03-22 10:08:23 -07:00
iwave UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
iwill UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
jetway UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
kontron UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
lanner
lenovo UPSTREAM: mb/lenovo/s230u: Fix USBDEBUG check 2017-03-29 09:06:49 -07:00
linutop
lippert UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
lowrisc UPSTREAM: mb/lowrisc/nexys4ddr: Read RAM information from the config string 2016-12-08 12:31:00 -08:00
mitac
msi UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
nec
nokia
nvidia UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
packardbell UPSTREAM: intel/nehalem: Use romstage_handoff for S3 2016-12-13 17:49:12 -08:00
pcengines UPSTREAM: binaryPI boards: Drop any ACPI S3 support 2017-03-08 05:13:02 -08:00
purism UPSTREAM: purism/librem13: Set system type to laptop 2017-02-27 12:03:16 -08:00
rca
roda UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
samsung UPSTREAM: mainboard/samsung/stumpy: transition away from device_t 2017-03-25 10:22:54 -07:00
siemens UPSTREAM: mainboards: Dont select CONSOLE_POST 2017-03-22 10:08:23 -07:00
soyo
sunw UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
supermicro UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
technexion UPSTREAM: mainboard/technexion/tim5690: transition away from device_t 2017-03-25 03:51:11 -07:00
thomson
ti
traverse UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
tyan UPSTREAM: southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-22 10:08:22 -07:00
via UPSTREAM: mainboard/via/vt8454c: transition away from device_t 2016-11-16 07:08:07 -08:00
winent UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
wyse UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
Kconfig UPSTREAM: Kconfig: Remind users to delete .config when switching boards 2017-01-13 15:21:43 -08:00