]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1043aqds: modify the qspi_bootcmd definition
authorWen He <wen.he_1@nxp.com>
Thu, 14 Nov 2019 07:08:15 +0000 (15:08 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 27 Nov 2019 07:42:19 +0000 (13:12 +0530)
Fix the kernel offset of qspi_bootcmd scripts, followed
the qoriq_memory_layout definition.

Signed-off-by: Wen He <wen.he_1@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1043a_common.h

index e237012626b1e3bfd71757e21f6ea5b2ffb6aa5d..bf24d4036d2a0b809cc226b5491ce3b2df2f9b3e 100644 (file)
                "source ${scriptaddr}\0"                        \
        "qspi_bootcmd=echo Trying load from qspi..;"    \
                "sf probe && sf read $load_addr "       \
-               "$kernel_addr $kernel_size; env exists secureboot "     \
-               "&& sf read $kernelheader_addr_r $kernelheader_addr "   \
+               "$kernel_start $kernel_size; env exists secureboot "    \
+               "&& sf read $kernelheader_addr_r $kernelheader_start "  \
                "$kernelheader_size && esbc_validate ${kernelheader_addr_r}; " \
                "bootm $load_addr#$board\0"     \
        "nor_bootcmd=echo Trying load from nor..;"      \