summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-29 23:27:32 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-30 07:00:43 +0200
commitf385ba42e340863df18555bf3cfffe70a96e2d8c (patch)
tree16f783b3609626bc8fcee184951088ac18a89340
parent48713a1bf7c2e55c34609a051b0dee7166c4a017 (diff)
console: Move UART port defaults to mainboard
Correct selection of UART depends of board layout, not the CPU internals, so default setting should originate from mainboard. Change-Id: Ibf0ab0847ccce73c22704e86983dbe3d24ebc8a0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5618 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/cpu/allwinner/a10/Kconfig4
-rw-r--r--src/cpu/samsung/exynos5250/Kconfig4
-rw-r--r--src/cpu/samsung/exynos5420/Kconfig4
-rw-r--r--src/mainboard/cubietech/cubieboard/Kconfig4
-rw-r--r--src/mainboard/google/pit/Kconfig4
-rw-r--r--src/mainboard/google/snow/Kconfig4
6 files changed, 12 insertions, 12 deletions
diff --git a/src/cpu/allwinner/a10/Kconfig b/src/cpu/allwinner/a10/Kconfig
index fbb95a1695..a04d8a4191 100644
--- a/src/cpu/allwinner/a10/Kconfig
+++ b/src/cpu/allwinner/a10/Kconfig
@@ -71,8 +71,4 @@ config SYS_SDRAM_BASE
hex
default 0x40000000
-config UART_FOR_CONSOLE
- int
- default 0
-
endif # if CPU_ALLWINNER_A10
diff --git a/src/cpu/samsung/exynos5250/Kconfig b/src/cpu/samsung/exynos5250/Kconfig
index 4adc000571..86e74a9f8b 100644
--- a/src/cpu/samsung/exynos5250/Kconfig
+++ b/src/cpu/samsung/exynos5250/Kconfig
@@ -87,8 +87,4 @@ config SYS_SDRAM_BASE
hex
default 0x40000000
-config UART_FOR_CONSOLE
- int
- default 3
-
endif
diff --git a/src/cpu/samsung/exynos5420/Kconfig b/src/cpu/samsung/exynos5420/Kconfig
index 3bc7486840..8366ea3486 100644
--- a/src/cpu/samsung/exynos5420/Kconfig
+++ b/src/cpu/samsung/exynos5420/Kconfig
@@ -89,8 +89,4 @@ config SYS_SDRAM_BASE
hex
default 0x20000000
-config UART_FOR_CONSOLE
- int
- default 3
-
endif
diff --git a/src/mainboard/cubietech/cubieboard/Kconfig b/src/mainboard/cubietech/cubieboard/Kconfig
index 6cb84cfac3..5c4c1a16cb 100644
--- a/src/mainboard/cubietech/cubieboard/Kconfig
+++ b/src/mainboard/cubietech/cubieboard/Kconfig
@@ -27,4 +27,8 @@ config DRAM_SIZE_MB
int
default 1024
+config UART_FOR_CONSOLE
+ int
+ default 0
+
endif # BOARD_CUBIETECH_CUBIEBOARD
diff --git a/src/mainboard/google/pit/Kconfig b/src/mainboard/google/pit/Kconfig
index e7e9a31004..cec4e31781 100644
--- a/src/mainboard/google/pit/Kconfig
+++ b/src/mainboard/google/pit/Kconfig
@@ -47,4 +47,8 @@ config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
default 2
+config UART_FOR_CONSOLE
+ int
+ default 3
+
endif # BOARD_GOOGLE_PIT
diff --git a/src/mainboard/google/snow/Kconfig b/src/mainboard/google/snow/Kconfig
index e808eb8796..448484dd00 100644
--- a/src/mainboard/google/snow/Kconfig
+++ b/src/mainboard/google/snow/Kconfig
@@ -52,4 +52,8 @@ config EC_GOOGLE_CHROMEEC_I2C_BUS
hex
default 4
+config UART_FOR_CONSOLE
+ int
+ default 3
+
endif # BOARD_GOOGLE_SNOW