summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felix.singer@9elements.com>2019-06-25 15:17:30 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-07-01 12:28:28 +0000
commitb6b5e7fb455933bc2e077e7881e6b907cb9d7571 (patch)
tree44cd46fc1da6bc19487a37addf092de366cf007c
parenta449290ca2d587d6eb9efca99d34c8a8658e3178 (diff)
downloadcoreboot-b6b5e7fb455933bc2e077e7881e6b907cb9d7571.tar.xz
mb/up/squared: Add kernel cmdline parameters
Since ttyS0 isn't used for UART0, configure ttyS4 as default Change-Id: Ia0469226253b08328807d5401c05633296e43d22 Signed-off-by: Felix Singer <felix.singer@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33785 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/up/squared/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/up/squared/Kconfig b/src/mainboard/up/squared/Kconfig
index fd03b7a2ae..b9f5b27a6d 100644
--- a/src/mainboard/up/squared/Kconfig
+++ b/src/mainboard/up/squared/Kconfig
@@ -65,6 +65,10 @@ config MAX_CPUS
int
default 2
+config LINUX_COMMAND_LINE
+ string
+ default "console=ttyS4,115200 earlyprintk=ttyS4,115200,keep" if PAYLOAD_LINUXBOOT && UART_FOR_CONSOLE=0
+
config UART_FOR_CONSOLE
int
default 0