armv8: ls2080: Update bootcmd env variable
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Wed, 3 Feb 2016 11:34:07 +0000 (17:04 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 24 Feb 2016 16:40:57 +0000 (08:40 -0800)
Before Linux boot DPL must be deployed to DPAA2 interface.
So update bootcmd env variable to make sure DPL deployment before
Linux boot.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls2080a_common.h

index 51c3a17ed74ab74094fbbd59281a89bf3c92266e..64b82e838810a709dfba8da939eeb62da829f247 100644 (file)
@@ -272,8 +272,9 @@ unsigned long long get_qixis_addr(void);
                                "earlycon=uart8250,mmio,0x21c0500" \
                                "ramdisk_size=0x2000000 default_hugepagesz=2m" \
                                " hugepagesz=2m hugepages=256"
-#define CONFIG_BOOTCOMMAND             "cp.b $kernel_start $kernel_load "     \
-                                       "$kernel_size && bootm $kernel_load"
+#define CONFIG_BOOTCOMMAND     "fsl_mc apply dpl 0x580700000 &&" \
+                               " cp.b $kernel_start $kernel_load" \
+                               " $kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY               10
 
 /* Monitor Command Prompt */