Set default SERIALCON value for rockchip64 based on branch

This commit is contained in:
Piotr Szczepanik 2020-06-14 20:51:25 +02:00
parent bbd283fe76
commit 498ce1f67f

View File

@ -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"