[coreboot-gerrit] New patch to review for coreboot: b9ca77f Kconfig: rename CONSOLE_SERIAL_UART to DRIVERS_UART

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Apr 16 15:28:53 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9771

-gerrit

commit b9ca77fa58cff478c7a5f40cb4b5cd8b99875122
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Thu Apr 16 15:27:52 2015 +0200

    Kconfig: rename CONSOLE_SERIAL_UART to DRIVERS_UART
    
    Some upstreaming patches missed that, so follow up.
    
    Change-Id: I28665c97ac777d8b0b0f909e64b32681ed2b98f7
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 src/mainboard/google/veyron_brain/Kconfig      | 2 +-
 src/mainboard/google/veyron_brain/bootblock.c  | 2 +-
 src/mainboard/google/veyron_danger/Kconfig     | 2 +-
 src/mainboard/google/veyron_danger/bootblock.c | 2 +-
 src/mainboard/google/veyron_jerry/Kconfig      | 2 +-
 src/mainboard/google/veyron_jerry/bootblock.c  | 2 +-
 src/mainboard/google/veyron_mighty/Kconfig     | 2 +-
 src/mainboard/google/veyron_mighty/bootblock.c | 2 +-
 src/mainboard/google/veyron_pinky/Kconfig      | 2 +-
 src/mainboard/google/veyron_pinky/bootblock.c  | 2 +-
 src/mainboard/google/veyron_rialto/Kconfig     | 2 +-
 src/mainboard/google/veyron_rialto/bootblock.c | 2 +-
 src/mainboard/google/veyron_speedy/Kconfig     | 2 +-
 src/mainboard/google/veyron_speedy/bootblock.c | 2 +-
 src/soc/broadcom/cygnus/Kconfig                | 2 +-
 src/soc/nvidia/tegra132/Makefile.inc           | 2 +-
 16 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/mainboard/google/veyron_brain/Kconfig b/src/mainboard/google/veyron_brain/Kconfig
index f8902c9..6361d9e 100644
--- a/src/mainboard/google/veyron_brain/Kconfig
+++ b/src/mainboard/google/veyron_brain/Kconfig
@@ -66,7 +66,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 # FIXME(dhendrix): This is a gross hack intended to get us past
diff --git a/src/mainboard/google/veyron_brain/bootblock.c b/src/mainboard/google/veyron_brain/bootblock.c
index 8650e0e..68234c9 100644
--- a/src/mainboard/google/veyron_brain/bootblock.c
+++ b/src/mainboard/google/veyron_brain/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/mainboard/google/veyron_danger/Kconfig b/src/mainboard/google/veyron_danger/Kconfig
index 294fd97..4c74054 100644
--- a/src/mainboard/google/veyron_danger/Kconfig
+++ b/src/mainboard/google/veyron_danger/Kconfig
@@ -67,7 +67,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 config PMIC_BUS
diff --git a/src/mainboard/google/veyron_danger/bootblock.c b/src/mainboard/google/veyron_danger/bootblock.c
index 8650e0e..68234c9 100644
--- a/src/mainboard/google/veyron_danger/bootblock.c
+++ b/src/mainboard/google/veyron_danger/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/mainboard/google/veyron_jerry/Kconfig b/src/mainboard/google/veyron_jerry/Kconfig
index 7730aba..7127b0b 100644
--- a/src/mainboard/google/veyron_jerry/Kconfig
+++ b/src/mainboard/google/veyron_jerry/Kconfig
@@ -78,7 +78,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 config PMIC_BUS
diff --git a/src/mainboard/google/veyron_jerry/bootblock.c b/src/mainboard/google/veyron_jerry/bootblock.c
index 2f012ec..19c2aec 100644
--- a/src/mainboard/google/veyron_jerry/bootblock.c
+++ b/src/mainboard/google/veyron_jerry/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/mainboard/google/veyron_mighty/Kconfig b/src/mainboard/google/veyron_mighty/Kconfig
index 5482e0f..0a65b31 100644
--- a/src/mainboard/google/veyron_mighty/Kconfig
+++ b/src/mainboard/google/veyron_mighty/Kconfig
@@ -78,7 +78,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 config PMIC_BUS
diff --git a/src/mainboard/google/veyron_mighty/bootblock.c b/src/mainboard/google/veyron_mighty/bootblock.c
index 2f012ec..19c2aec 100644
--- a/src/mainboard/google/veyron_mighty/bootblock.c
+++ b/src/mainboard/google/veyron_mighty/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/mainboard/google/veyron_pinky/Kconfig b/src/mainboard/google/veyron_pinky/Kconfig
index 0c991c7..f6aea37 100644
--- a/src/mainboard/google/veyron_pinky/Kconfig
+++ b/src/mainboard/google/veyron_pinky/Kconfig
@@ -78,7 +78,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 config PMIC_BUS
diff --git a/src/mainboard/google/veyron_pinky/bootblock.c b/src/mainboard/google/veyron_pinky/bootblock.c
index 2f012ec..19c2aec 100644
--- a/src/mainboard/google/veyron_pinky/bootblock.c
+++ b/src/mainboard/google/veyron_pinky/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/mainboard/google/veyron_rialto/Kconfig b/src/mainboard/google/veyron_rialto/Kconfig
index 8393895..bc40ccb 100644
--- a/src/mainboard/google/veyron_rialto/Kconfig
+++ b/src/mainboard/google/veyron_rialto/Kconfig
@@ -74,7 +74,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 # FIXME(dhendrix): This is a gross hack intended to get us past
diff --git a/src/mainboard/google/veyron_rialto/bootblock.c b/src/mainboard/google/veyron_rialto/bootblock.c
index 86104ec..ab9d60d 100644
--- a/src/mainboard/google/veyron_rialto/bootblock.c
+++ b/src/mainboard/google/veyron_rialto/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/mainboard/google/veyron_speedy/Kconfig b/src/mainboard/google/veyron_speedy/Kconfig
index 4d7f45d..facd715 100644
--- a/src/mainboard/google/veyron_speedy/Kconfig
+++ b/src/mainboard/google/veyron_speedy/Kconfig
@@ -78,7 +78,7 @@ config DRIVER_TPM_I2C_ADDR
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0xFF690000
 
 config PMIC_BUS
diff --git a/src/mainboard/google/veyron_speedy/bootblock.c b/src/mainboard/google/veyron_speedy/bootblock.c
index 2f012ec..19c2aec 100644
--- a/src/mainboard/google/veyron_speedy/bootblock.c
+++ b/src/mainboard/google/veyron_speedy/bootblock.c
@@ -36,7 +36,7 @@
 
 void bootblock_mainboard_early_init()
 {
-	if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_UART)) {
+	if (IS_ENABLED(CONFIG_DRIVERS_UART)) {
 		assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE);
 		writel(IOMUX_UART2, &rk3288_grf->iomux_uart2);
 	}
diff --git a/src/soc/broadcom/cygnus/Kconfig b/src/soc/broadcom/cygnus/Kconfig
index 2ccc306..89023a9 100644
--- a/src/soc/broadcom/cygnus/Kconfig
+++ b/src/soc/broadcom/cygnus/Kconfig
@@ -41,7 +41,7 @@ config BOOTBLOCK_CPU_INIT
 
 config CONSOLE_SERIAL_UART_ADDRESS
 	hex
-	depends on CONSOLE_SERIAL_UART
+	depends on DRIVERS_UART
 	default 0x18023000
 
 endif
diff --git a/src/soc/nvidia/tegra132/Makefile.inc b/src/soc/nvidia/tegra132/Makefile.inc
index 091c186..fb81548 100644
--- a/src/soc/nvidia/tegra132/Makefile.inc
+++ b/src/soc/nvidia/tegra132/Makefile.inc
@@ -27,7 +27,7 @@ verstage-y += monotonic_timer.c
 verstage-y += spi.c
 verstage-y += padconfig.c
 verstage-y += funitcfg.c
-verstage-$(CONFIG_CONSOLE_SERIAL_UART) += uart.c
+verstage-$(CONFIG_DRIVERS_UART) += uart.c
 verstage-y += ../tegra/gpio.c
 verstage-y += ../tegra/i2c.c
 verstage-y += ../tegra/pinmux.c



More information about the coreboot-gerrit mailing list