From 498ce1f67faa19082dec2a4770b1dbbf3e3533ef Mon Sep 17 00:00:00 2001 From: Piotr Szczepanik Date: Sun, 14 Jun 2020 20:51:25 +0200 Subject: [PATCH] Set default SERIALCON value for rockchip64 based on branch --- config/sources/families/include/rockchip64_common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sources/families/include/rockchip64_common.inc b/config/sources/families/include/rockchip64_common.inc index 7d7a779776..06734238e9 100644 --- a/config/sources/families/include/rockchip64_common.inc +++ b/config/sources/families/include/rockchip64_common.inc @@ -6,7 +6,7 @@ BOOTENV_FILE='rockchip-default.txt' UBOOT_TARGET_MAP=";;idbloader.bin uboot.img trust.bin" BOOTDELAY=0 OVERLAY_PREFIX='rockchip' -SERIALCON=${SERIALCON:-'ttyFIQ0:1500000'} +SERIALCON=${SERIALCON:=$([ $BRANCH == "legacy" ] && echo "ttyFIQ0:1500000" || echo "ttyS2:1500000")} GOVERNOR="ondemand" CPUMAX="2016000" CPUMIN="600000"