console: Move UART port defaults to mainboard 18/5618/2
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Tue, 29 Apr 2014 20:27:32 +0000 (23:27 +0300)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Wed, 30 Apr 2014 05:00:43 +0000 (07:00 +0200)
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>
src/cpu/allwinner/a10/Kconfig
src/cpu/samsung/exynos5250/Kconfig
src/cpu/samsung/exynos5420/Kconfig
src/mainboard/cubietech/cubieboard/Kconfig
src/mainboard/google/pit/Kconfig
src/mainboard/google/snow/Kconfig

index fbb95a1..a04d8a4 100644 (file)
@@ -71,8 +71,4 @@ config SYS_SDRAM_BASE
        hex
        default 0x40000000
 
-config UART_FOR_CONSOLE
-       int
-       default 0
-
 endif # if CPU_ALLWINNER_A10
index 4adc000..86e74a9 100644 (file)
@@ -87,8 +87,4 @@ config SYS_SDRAM_BASE
        hex
        default 0x40000000
 
-config UART_FOR_CONSOLE
-       int
-       default 3
-
 endif
index 3bc7486..8366ea3 100644 (file)
@@ -89,8 +89,4 @@ config SYS_SDRAM_BASE
        hex
        default 0x20000000
 
-config UART_FOR_CONSOLE
-       int
-       default 3
-
 endif
index 6cb84cf..5c4c1a1 100644 (file)
@@ -27,4 +27,8 @@ config DRAM_SIZE_MB
        int
        default 1024
 
+config UART_FOR_CONSOLE
+       int
+       default 0
+
 endif # BOARD_CUBIETECH_CUBIEBOARD
index e7e9a31..cec4e31 100644 (file)
@@ -47,4 +47,8 @@ config EC_GOOGLE_CHROMEEC_SPI_BUS
        hex
        default 2
 
+config UART_FOR_CONSOLE
+       int
+       default 3
+
 endif # BOARD_GOOGLE_PIT
index e808eb8..448484d 100644 (file)
@@ -52,4 +52,8 @@ config EC_GOOGLE_CHROMEEC_I2C_BUS
        hex
        default 4
 
+config UART_FOR_CONSOLE
+       int
+       default 3
+
 endif # BOARD_GOOGLE_SNOW