]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls2080ardb.h: Update mc size in env
authorPriyanka Jain <priyanka.jain@nxp.com>
Mon, 19 Jul 2021 09:37:49 +0000 (15:07 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 20 Jul 2021 09:24:07 +0000 (14:54 +0530)
Set MC Firmware size in read commands in
env to 2MB.
Update DDR Memory read address for MC firmware to
0x80a00000 and MC DPC address to 0x80e00000.

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls2080ardb.h

index f2dc495fbb93ba0eb68ada0a88a4a21dfef7fc81..49c2cc573bcd3cc4624b012012cc6365678baacb 100644 (file)
@@ -314,11 +314,11 @@ unsigned long get_board_sys_clk(void);
        "env exists secureboot && "                     \
        "esbc_validate 0x80640000 && "                  \
        "esbc_validate 0x80680000; "                    \
-       "sf read 0x80a00000 0xa00000 0x300000; "        \
+       "sf read 0x80a00000 0xa00000 0x200000; "        \
        "sf read 0x80e00000 0xe00000 0x100000; "        \
        "fsl_mc start mc 0x80a00000 0x80e00000 \0"
 #define SD_MC_INIT_CMD                         \
-       "mmcinfo;mmc read 0x80a00000 0x5000 0x1200;" \
+       "mmcinfo;mmc read 0x80a00000 0x5000 0x1000;" \
        "mmc read 0x80e00000 0x7000 0x800;"     \
        "env exists secureboot && "             \
        "mmc read 0x80640000 0x3200 0x20 && "   \
@@ -339,19 +339,19 @@ unsigned long get_board_sys_clk(void);
        "env exists secureboot && "                     \
        "esbc_validate 0x80640000 && "                  \
        "esbc_validate 0x80680000; "                    \
-       "sf read 0x80a00000 0xa00000 0x300000; "        \
+       "sf read 0x80a00000 0xa00000 0x200000; "        \
        "sf read 0x80e00000 0xe00000 0x100000; "        \
        "fsl_mc start mc 0x80a00000 0x80e00000 \0"
 #elif defined(CONFIG_SD_BOOT)
 #define MC_INIT_CMD                             \
-       "mcinitcmd=mmcinfo;mmc read 0x80000000 0x5000 0x800;" \
-       "mmc read 0x80100000 0x7000 0x800;"     \
+       "mcinitcmd=mmcinfo;mmc read 0x80a00000 0x5000 0x1000;" \
+       "mmc read 0x80e00000 0x7000 0x800;"     \
        "env exists secureboot && "             \
        "mmc read 0x80640000 0x3200 0x20 && "   \
        "mmc read 0x80680000 0x3400 0x20 && "   \
        "esbc_validate 0x80640000 && "          \
        "esbc_validate 0x80680000 ;"            \
-       "fsl_mc start mc 0x80000000 0x80100000\0" \
+       "fsl_mc start mc 0x80a00000 0x80e00000\0" \
        "mcmemsize=0x70000000\0"
 #else
 #define MC_INIT_CMD                            \