]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Add 2 helper functions for earlyconsole bootargs
authorMichal Simek <michal.simek@xilinx.com>
Thu, 7 Jan 2016 15:33:23 +0000 (16:33 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 10:50:37 +0000 (11:50 +0100)
Setup earlycon from u-boot prompt via helper variables.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h

index d250c8db18c53ebcebbf5316a728654612c16247..11be2ad807176d969bda3f815ee88a546a788969 100644 (file)
        "nfsroot=setenv bootargs $bootargs root=/dev/nfs nfsroot=$serverip:/mnt/sata,tcp ip=$ipaddr:$serverip:$serverip:255.255.255.0:zynqmp:eth0:off rw\0" \
        "sdroot=setenv bootargs $bootargs root=/dev/mmcblk0p2 rw rootwait\0" \
        "sdroot1=setenv bootargs $bootargs root=/dev/mmcblk1p2 rw rootwait\0" \
+       "earlycon0=setenv bootargs $bootargs earlycon=cdns,mmio,0xff000000,115200n8\0" \
+       "earlycon1=setenv bootargs $bootargs earlycon=cdns,mmio,0xff001000,115200n8\0" \
        "usbhostboot=usb start && load usb 0 $fdt_addr system.dtb && " \
                     "load usb 0 $kernel_addr Image && " \
                     "booti $kernel_addr - $fdt_addr\0" \