summaryrefslogtreecommitdiff
path: root/src/mainboard
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 /src/mainboard
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/cubietech/cubieboard/Kconfig4
-rw-r--r--src/mainboard/google/pit/Kconfig4
-rw-r--r--src/mainboard/google/snow/Kconfig4
3 files changed, 12 insertions, 0 deletions
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