Kconfig: Update default hex values to start with 0x
Kconfig hex values don't need to be in quotes, and should start with '0x'. If the default value isn't set this way, Kconfig will add the 0x to the start, and the entry can be added unnecessarily to the defconfig since it's "different" than what was set by the default. A check for this has been added to the Kconfig lint tool. Change-Id: I86f37340682771700011b6285e4b4af41b7e9968 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16834 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
@@ -330,7 +330,7 @@ config CMOS_POST
|
||||
config CMOS_POST_OFFSET
|
||||
hex "Offset into CMOS to store POST codes"
|
||||
depends on CMOS_POST
|
||||
default 0
|
||||
default 0x0
|
||||
help
|
||||
If CMOS_POST is enabled then an offset into CMOS must be provided.
|
||||
If CONFIG_HAVE_OPTION_TABLE is enabled then it will use the value
|
||||
|
Reference in New Issue
Block a user