[U-Boot] [PATCH 1/2] armv8: ls2080: Add mcinitcmd env variable in default env

Define mcinitcmd env variable to load Management complex during u-boot boot sequence.
Signed-off-by: Prabhakar Kushwaha prabhakar.kushwaha@nxp.com --- include/configs/ls2080a_common.h | 4 +++- include/configs/ls2080aqds.h | 4 +++- include/configs/ls2080ardb.h | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index def0a6f..0d33042 100644 --- a/include/configs/ls2080a_common.h +++ b/include/configs/ls2080a_common.h @@ -264,7 +264,9 @@ unsigned long long get_qixis_addr(void); "kernel_start=0x581200000\0" \ "kernel_load=0xa0000000\0" \ "kernel_size=0x2800000\0" \ - "console=ttyAMA0,38400n8\0" + "console=ttyAMA0,38400n8\0" \ + "mcinitcmd=fsl_mc start mc 0x580300000" \ + " 0x580800000 \0"
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \ "earlycon=uart8250,mmio,0x21c0500" \ diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index a402c06..dab3820 100644 --- a/include/configs/ls2080aqds.h +++ b/include/configs/ls2080aqds.h @@ -346,7 +346,9 @@ unsigned long get_board_ddr_clk(void); "initrd_high=0xffffffffffffffff\0" \ "kernel_start=0x581100000\0" \ "kernel_load=0xa0000000\0" \ - "kernel_size=0x2800000\0" + "kernel_size=0x2800000\0" \ + "mcinitcmd=fsl_mc start mc 0x580300000" \ + " 0x580800000 \0"
#ifdef CONFIG_FSL_MC_ENET #define CONFIG_FSL_MEMAC diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index 116dbcd..ac37aa5 100644 --- a/include/configs/ls2080ardb.h +++ b/include/configs/ls2080ardb.h @@ -327,7 +327,9 @@ unsigned long get_board_sys_clk(void); "initrd_high=0xffffffffffffffff\0" \ "kernel_start=0x581100000\0" \ "kernel_load=0xa0000000\0" \ - "kernel_size=0x2800000\0" + "kernel_size=0x2800000\0" \ + "mcinitcmd=fsl_mc start mc 0x580300000" \ + " 0x580800000 \0"
#undef CONFIG_BOOTARGS #define CONFIG_BOOTARGS "console=ttyS1,115200 root=/dev/ram0 " \

On 02/03/2016 03:34 AM, Prabhakar Kushwaha wrote:
Define mcinitcmd env variable to load Management complex during u-boot boot sequence.
Signed-off-by: Prabhakar Kushwaha prabhakar.kushwaha@nxp.com
include/configs/ls2080a_common.h | 4 +++- include/configs/ls2080aqds.h | 4 +++- include/configs/ls2080ardb.h | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-)
Applied to fsl-qoriq master. Awaiting upstream.
York
participants (2)
-
Prabhakar Kushwaha
-
york sun