diff options
author | Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> | 2020-02-19 21:00:45 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-03-30 05:36:52 +0300 |
commit | b7e7a46e1007a362be05c76efb3a2ee69e50880d (patch) | |
tree | 77ccb97934768db19b02960b24b0b0a4482b965e /include/configs/lx2160aqds.h | |
parent | e9d9c2e57391d38b4d62643dacaa4764db57cae9 (diff) | |
download | u-boot-b7e7a46e1007a362be05c76efb3a2ee69e50880d.tar.xz |
lx2160a : Add emmc in boot_targets environment variable
Add emmc in supported boot_targets and
Add bootcmd environment variable for emmc boot.
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/lx2160aqds.h')
-rw-r--r-- | include/configs/lx2160aqds.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/lx2160aqds.h b/include/configs/lx2160aqds.h index 1eb63d826f..e9e1770c94 100644 --- a/include/configs/lx2160aqds.h +++ b/include/configs/lx2160aqds.h @@ -137,6 +137,13 @@ u8 qixis_esdhc_detect_quirk(void); "env exists secureboot && mmc read $kernelheader_addr_r "\ "$kernelhdr_addr_sd $kernelhdr_size_sd " \ " && esbc_validate ${kernelheader_addr_r};" \ + "bootm $load_addr#$BOARD\0" \ + "sd2_bootcmd=echo Trying load from emmc card..;" \ + "mmc dev 1; 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" #include <asm/fsl_secure_boot.h> |