]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include/configs: ls1012a: add pfe stop command
authorBiwen Li <biwen.li@nxp.com>
Fri, 15 Nov 2019 07:10:14 +0000 (15:10 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 27 Nov 2019 07:42:19 +0000 (13:12 +0530)
This adds pfe stop command before boot linux kernel
to fix a problem that ethernet won't be workable
after enter linux. Because there is a h/w limitation
in LS1012A PFE, to re-initialize PFE it has to be
safe shutdown, these steps are done through PFE stop.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1012a2g5rdb.h
include/configs/ls1012afrdm.h
include/configs/ls1012afrwy.h
include/configs/ls1012ardb.h

index cb329385d9a2bb4131daf3464142dbc68effd946..5943b69716e094d0fb9c23733fda524b688ba051 100644 (file)
@@ -85,7 +85,7 @@
        "installer=load mmc 0:2 $load_addr "    \
                   "/flex_installer_arm64.itb; "        \
                   "bootm $load_addr#$board\0"  \
-       "qspi_bootcmd=echo Trying load from qspi..;"    \
+       "qspi_bootcmd=pfe stop; 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 "   \
index 8c7d4e558dca288fafa65d8e417956e9238cde20..8a3ebf06f2d449f112ccaebdcb4b479acb6265a7 100644 (file)
@@ -60,7 +60,7 @@
        "installer=load usb 0:2 $load_addr "    \
                   "/flex_installer_arm64.itb; "        \
                   "bootm $load_addr#$board\0"  \
-       "qspi_bootcmd=echo Trying load from qspi..;"    \
+       "qspi_bootcmd=pfe stop; echo Trying load from qspi..;"  \
                "sf probe && sf read $load_addr "       \
                "$kernel_addr $kernel_size && bootm $load_addr#$board\0"
 
index 44b37c5475b6071b69fdda9862fdf44128ee04cb..c0519e3c110e284ee3b7fbd0b03471b2e60bbc19 100644 (file)
        "installer=load mmc 0:2 $load_addr "    \
                   "/flex_installer_arm64.itb; "        \
                   "bootm $load_addr#$board\0"  \
-       "qspi_bootcmd=echo Trying load from qspi..;"    \
+       "qspi_bootcmd=pfe stop; 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 "   \
                "$kernelheader_size && esbc_validate ${kernelheader_addr_r}; " \
                "bootm $load_addr#$board\0"     \
-       "sd_bootcmd=echo Trying load from sd card..;"           \
+       "sd_bootcmd=pfe stop; echo Trying load from sd card..;"         \
                "mmcinfo; mmc read $load_addr "                 \
                "$kernel_addr_sd $kernel_size_sd ;"             \
                "env exists secureboot && mmc read $kernelheader_addr_r "\
index 3cd7baf21dad0ebf812348a13cfd4eba1fec053a..0341495dfb55761867b183018d4e19391e2df427 100644 (file)
        "installer=load mmc 0:2 $load_addr "    \
                   "/flex_installer_arm64.itb; "        \
                   "bootm $load_addr#$board\0"  \
-       "qspi_bootcmd=echo Trying load from qspi..;"    \
+       "qspi_bootcmd=pfe stop; 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 "   \