configs: lx2160a: load device-tree in RAM for distro boot
Update boot-commands to load device-tree from boot-device at 'fdt_addr_r' address in DDR during distro-boot. Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
@@ -180,6 +180,7 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
#define XSPI_MC_INIT_CMD \
|
#define XSPI_MC_INIT_CMD \
|
||||||
"sf probe 0:0 && " \
|
"sf probe 0:0 && " \
|
||||||
"sf read 0x80640000 0x640000 0x80000 && " \
|
"sf read 0x80640000 0x640000 0x80000 && " \
|
||||||
|
"sf read $fdt_addr_r 0xf00000 0x100000 && " \
|
||||||
"env exists secureboot && " \
|
"env exists secureboot && " \
|
||||||
"esbc_validate 0x80640000 && " \
|
"esbc_validate 0x80640000 && " \
|
||||||
"esbc_validate 0x80680000; " \
|
"esbc_validate 0x80680000; " \
|
||||||
@@ -190,6 +191,7 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
#define SD_MC_INIT_CMD \
|
#define SD_MC_INIT_CMD \
|
||||||
"mmc read 0x80a00000 0x5000 0x1200;" \
|
"mmc read 0x80a00000 0x5000 0x1200;" \
|
||||||
"mmc read 0x80e00000 0x7000 0x800;" \
|
"mmc read 0x80e00000 0x7000 0x800;" \
|
||||||
|
"mmc read $fdt_addr_r 0x7800 0x800;" \
|
||||||
"env exists secureboot && " \
|
"env exists secureboot && " \
|
||||||
"mmc read 0x80640000 0x3200 0x20 && " \
|
"mmc read 0x80640000 0x3200 0x20 && " \
|
||||||
"mmc read 0x80680000 0x3400 0x20 && " \
|
"mmc read 0x80680000 0x3400 0x20 && " \
|
||||||
@@ -200,6 +202,7 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
#define SD2_MC_INIT_CMD \
|
#define SD2_MC_INIT_CMD \
|
||||||
"mmc dev 1; mmc read 0x80a00000 0x5000 0x1200;" \
|
"mmc dev 1; mmc read 0x80a00000 0x5000 0x1200;" \
|
||||||
"mmc read 0x80e00000 0x7000 0x800;" \
|
"mmc read 0x80e00000 0x7000 0x800;" \
|
||||||
|
"mmc read $fdt_addr_r 0x7800 0x800;" \
|
||||||
"env exists secureboot && " \
|
"env exists secureboot && " \
|
||||||
"mmc read 0x80640000 0x3200 0x20 && " \
|
"mmc read 0x80640000 0x3200 0x20 && " \
|
||||||
"mmc read 0x80680000 0x3400 0x20 && " \
|
"mmc read 0x80680000 0x3400 0x20 && " \
|
||||||
|
|||||||
Reference in New Issue
Block a user