Message ID | 20200324031901.21067-1-biwen.li@nxp.com |
---|---|
State | Accepted |
Commit | 5706b9b56ec90cec0a33479f4743b56b5d457d75 |
Headers | show |
Series | configs: ls1012afrwy: fix board name | expand |
>-----Original Message----- >From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Biwen Li >Sent: Tuesday, March 24, 2020 8:49 AM >To: Jagdish Gediya <jagdish.gediya at nxp.com>; Priyanka Jain ><priyanka.jain at nxp.com>; Pramod Kumar <pramod.kumar_1 at nxp.com>; >Shengzhou Liu <shengzhou.liu at nxp.com> >Cc: Alison Wang <alison.wang at nxp.com>; u-boot at lists.denx.de; Jiafei Pan ><jiafei.pan at nxp.com>; Biwen Li <biwen.li at nxp.com> >Subject: [PATCH] configs: ls1012afrwy: fix board name > >Fix board name for ls1012afrwy > >Signed-off-by: Biwen Li <biwen.li at nxp.com> >--- > include/configs/ls1012afrwy.h | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h >index 9007249804..e53249e4ed 100644 >--- a/include/configs/ls1012afrwy.h >+++ b/include/configs/ls1012afrwy.h >@@ -78,6 +78,7 @@ > "kernel_size=0x2800000\0" \ > "kernelheader_size=0x40000\0" \ > "console=ttyS0,115200\0" \ >+ "BOARD=ls1012afrwy\0" \ > BOOTENV \ > "boot_scripts=ls1012afrwy_boot.scr\0" \ > "boot_script_hdr=hdr_ls1012afrwy_bs.out\0" \ >@@ -109,20 +110,20 @@ > "source ${scriptaddr}\0" \ > "installer=load mmc 0:2 $load_addr " \ > "/flex_installer_arm64.itb; " \ >- "bootm $load_addr#$board\0" \ >+ "bootm $load_addr#$BOARD\0" \ > "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" \ >+ "bootm $load_addr#$BOARD\0" \ > "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 "\ > "$kernelhdr_addr_sd $kernelhdr_size_sd " \ > " && esbc_validate ${kernelheader_addr_r};" \ >- "bootm $load_addr#$board\0" >+ "bootm $load_addr#$BOARD\0" > > #undef CONFIG_BOOTCOMMAND > #ifdef CONFIG_TFABOOT >-- >2.17.1 Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>
diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h index 9007249804..e53249e4ed 100644 --- a/include/configs/ls1012afrwy.h +++ b/include/configs/ls1012afrwy.h @@ -78,6 +78,7 @@ "kernel_size=0x2800000\0" \ "kernelheader_size=0x40000\0" \ "console=ttyS0,115200\0" \ + "BOARD=ls1012afrwy\0" \ BOOTENV \ "boot_scripts=ls1012afrwy_boot.scr\0" \ "boot_script_hdr=hdr_ls1012afrwy_bs.out\0" \ @@ -109,20 +110,20 @@ "source ${scriptaddr}\0" \ "installer=load mmc 0:2 $load_addr " \ "/flex_installer_arm64.itb; " \ - "bootm $load_addr#$board\0" \ + "bootm $load_addr#$BOARD\0" \ "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" \ + "bootm $load_addr#$BOARD\0" \ "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 "\ "$kernelhdr_addr_sd $kernelhdr_size_sd " \ " && esbc_validate ${kernelheader_addr_r};" \ - "bootm $load_addr#$board\0" + "bootm $load_addr#$BOARD\0" #undef CONFIG_BOOTCOMMAND #ifdef CONFIG_TFABOOT
Fix board name for ls1012afrwy Signed-off-by: Biwen Li <biwen.li at nxp.com> --- include/configs/ls1012afrwy.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)