aboutsummaryrefslogtreecommitdiff
path: root/board/phytec
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2024-06-30 23:20:50 -0700
committerTom Rini <trini@konsulko.com>2024-07-16 12:56:36 -0600
commit65a4fa7316cf925e8d9950615bdf2dcb444aa6d3 (patch)
treedfdd578c5274b066374b81adbe653267b9bcbf41 /board/phytec
parent7081b388a75a299047807262d57a8f1c98ac0d4c (diff)
downloadu-boot-65a4fa7316cf925e8d9950615bdf2dcb444aa6d3.zip
u-boot-65a4fa7316cf925e8d9950615bdf2dcb444aa6d3.tar.gz
u-boot-65a4fa7316cf925e8d9950615bdf2dcb444aa6d3.tar.bz2
board: phytec: phycore_am64x: Move earlycon into own variable
By moving the earlycon definition into a dedicated variable, it's easier to change these values in case the kernel should print on a different serial interface. Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Diffstat (limited to 'board/phytec')
-rw-r--r--board/phytec/phycore_am64x/phycore_am64x.env3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env b/board/phytec/phycore_am64x/phycore_am64x.env
index ada3a92..e24a958 100644
--- a/board/phytec/phycore_am64x/phycore_am64x.env
+++ b/board/phytec/phycore_am64x/phycore_am64x.env
@@ -11,7 +11,8 @@ mmcdev=1
mmcroot=2
mmcpart=1
console=ttyS2,115200n8
-mmcargs=setenv bootargs console=${console} earlycon=ns16550a,mmio32,0x02800000
+earlycon=ns16550a,mmio32,0x02800000
+mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile}