Verify Kconfigs symbols are not zero for hex and int type symbols
commit46cf9f7b7a20a94a2eb9bdfb4b8fba2a8c889474
authorMartin Roth <gaumless@gmail.com>
Sat, 11 Jul 2015 19:56:58 +0000 (11 13:56 -0600)
committerMartin Roth <gaumless@gmail.com>
Sun, 12 Jul 2015 17:06:44 +0000 (12 19:06 +0200)
tree79f35f10284df4b0d26f994dbfdd7056ad1e6b94
parentba566bdc8b451a9b6906359c2cea2df1eaebe8ee
Verify Kconfigs symbols are not zero for hex and int type symbols

For hex and int type kconfig symbols, IS_ENABLED() doesn't work. Instead
check to make sure they're defined and not zero.  In some cases, zero
might be a valid value, but it didn't look like zero was valid in these
cases.

Change-Id: Ib51fb31b3babffbf25ed3ae4ed11a2dc9a4be709
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: http://review.coreboot.org/10886
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/cpu/x86/mtrr/earlymtrr.c
src/drivers/elog/boot_count.c
src/include/cpu/x86/mtrr.h
src/include/pc80/mc146818rtc.h
src/southbridge/amd/agesa/hudson/acpi/fch.asl