From f385ba42e340863df18555bf3cfffe70a96e2d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 29 Apr 2014 23:27:32 +0300 Subject: console: Move UART port defaults to mainboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/5618 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks Reviewed-by: Paul Menzel --- src/cpu/allwinner/a10/Kconfig | 4 ---- src/cpu/samsung/exynos5250/Kconfig | 4 ---- src/cpu/samsung/exynos5420/Kconfig | 4 ---- src/mainboard/cubietech/cubieboard/Kconfig | 4 ++++ src/mainboard/google/pit/Kconfig | 4 ++++ src/mainboard/google/snow/Kconfig | 4 ++++ 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 -- cgit v1.2.3