summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-09-30 14:43:01 -0600
committerMartin Roth <martinroth@google.com>2016-10-02 19:08:15 +0200
commit3b87812f004f1b510e36e2fb6a25b54181954190 (patch)
treee7a96357425496d4fdaf8b8414173748e8dc18a1 /src/mainboard/google
parentcc3365a0398d02dc2e88c3caf969c0b874d6a3dc (diff)
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/gru/Kconfig4
-rw-r--r--src/mainboard/google/nyan/Kconfig2
-rw-r--r--src/mainboard/google/nyan_big/Kconfig2
-rw-r--r--src/mainboard/google/nyan_blaze/Kconfig2
-rw-r--r--src/mainboard/google/oak/Kconfig2
-rw-r--r--src/mainboard/google/peach_pit/Kconfig2
-rw-r--r--src/mainboard/google/veyron/Kconfig2
7 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/google/gru/Kconfig b/src/mainboard/google/gru/Kconfig
index 315083975b..41e8105595 100644
--- a/src/mainboard/google/gru/Kconfig
+++ b/src/mainboard/google/gru/Kconfig
@@ -65,7 +65,7 @@ config DRAM_SIZE_MB
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 5
+ default 0x5
config BOOT_DEVICE_SPI_FLASH_BUS
int
@@ -73,7 +73,7 @@ config BOOT_DEVICE_SPI_FLASH_BUS
config DRIVER_TPM_I2C_BUS
hex
- default 0
+ default 0x0
config DRIVER_TPM_I2C_ADDR
hex
diff --git a/src/mainboard/google/nyan/Kconfig b/src/mainboard/google/nyan/Kconfig
index e68ad4e8f7..9b25d5c9b2 100644
--- a/src/mainboard/google/nyan/Kconfig
+++ b/src/mainboard/google/nyan/Kconfig
@@ -72,7 +72,7 @@ config BOOT_DEVICE_SPI_FLASH_BUS
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 1
+ default 0x1
config DRIVER_TPM_I2C_BUS
hex
diff --git a/src/mainboard/google/nyan_big/Kconfig b/src/mainboard/google/nyan_big/Kconfig
index 3f94637c7e..bcf8f5d619 100644
--- a/src/mainboard/google/nyan_big/Kconfig
+++ b/src/mainboard/google/nyan_big/Kconfig
@@ -73,7 +73,7 @@ config BOOT_DEVICE_SPI_FLASH_BUS
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 1
+ default 0x1
config DRIVER_TPM_I2C_BUS
hex
diff --git a/src/mainboard/google/nyan_blaze/Kconfig b/src/mainboard/google/nyan_blaze/Kconfig
index e47ebfaca6..0782cc0fd6 100644
--- a/src/mainboard/google/nyan_blaze/Kconfig
+++ b/src/mainboard/google/nyan_blaze/Kconfig
@@ -74,7 +74,7 @@ config BOOT_DEVICE_SPI_FLASH_BUS
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 1
+ default 0x1
config DRIVER_TPM_I2C_BUS
hex
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 1228cff140..267464305c 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -50,7 +50,7 @@ config MAINBOARD_VENDOR
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 0
+ default 0x0
config DRIVER_TPM_I2C_BUS
hex
diff --git a/src/mainboard/google/peach_pit/Kconfig b/src/mainboard/google/peach_pit/Kconfig
index 125333c681..be06a18d0a 100644
--- a/src/mainboard/google/peach_pit/Kconfig
+++ b/src/mainboard/google/peach_pit/Kconfig
@@ -42,7 +42,7 @@ config DRAM_SIZE_MB
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 2
+ default 0x2
config UART_FOR_CONSOLE
int
diff --git a/src/mainboard/google/veyron/Kconfig b/src/mainboard/google/veyron/Kconfig
index b6a687cd56..1729155332 100644
--- a/src/mainboard/google/veyron/Kconfig
+++ b/src/mainboard/google/veyron/Kconfig
@@ -54,7 +54,7 @@ config MAINBOARD_VENDOR
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
- default 0
+ default 0x0
config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US
int