diff options
author | Andrew F. Davis | 2016-12-05 13:57:37 -0600 |
---|---|---|
committer | Tero Kristo | 2016-12-09 03:28:14 -0600 |
commit | 72e318bdcea876ac9a4cad2abcaca483425521c7 (patch) | |
tree | d930d060698c57015abde6c71211bf596f28c3a4 | |
parent | 34fda502546ed4a678b1ab223a8a2e50b3f16da3 (diff) | |
download | u-boot-72e318bdcea876ac9a4cad2abcaca483425521c7.tar.gz u-boot-72e318bdcea876ac9a4cad2abcaca483425521c7.tar.xz u-boot-72e318bdcea876ac9a4cad2abcaca483425521c7.zip |
ti_armv7_common: env: Add NFS loading support for PMMC and MONti2016.06-rc1
commit 979a1f8b21aded450d34bddbc99804f7e6489622 upstream.
NFS loading support has been added to the default environment for
most boot components, as PMMC and MON loading were added later they
did not originally get the NFS commands added, add these now.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
-rw-r--r-- | include/configs/ti_armv7_keystone2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 97ff26360b..5a90930f38 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h | |||
@@ -273,6 +273,8 @@ | |||
273 | "set_rd_spec=setenv rd_spec ${rdaddr}:${filesize}\0" \ | 273 | "set_rd_spec=setenv rd_spec ${rdaddr}:${filesize}\0" \ |
274 | "init_fw_rd_net=dhcp ${rdaddr} ${tftp_root}/${name_fw_rd}; " \ | 274 | "init_fw_rd_net=dhcp ${rdaddr} ${tftp_root}/${name_fw_rd}; " \ |
275 | "run set_rd_spec\0" \ | 275 | "run set_rd_spec\0" \ |
276 | "init_fw_rd_nfs=nfs ${rdaddr} ${nfs_root}/boot/${name_fw_rd}; " \ | ||
277 | "run set_rd_spec\0" \ | ||
276 | "init_fw_rd_ramfs=setenv rd_spec -\0" \ | 278 | "init_fw_rd_ramfs=setenv rd_spec -\0" \ |
277 | "init_fw_rd_ubi=ubifsload ${rdaddr} ${bootdir}/${name_fw_rd}; " \ | 279 | "init_fw_rd_ubi=ubifsload ${rdaddr} ${bootdir}/${name_fw_rd}; " \ |
278 | "run set_rd_spec\0" \ | 280 | "run set_rd_spec\0" \ |
@@ -281,6 +283,7 @@ | |||
281 | "set_name_pmmc=setenv name_pmmc ti-sci-firmware-${soc_variant}.bin\0" \ | 283 | "set_name_pmmc=setenv name_pmmc ti-sci-firmware-${soc_variant}.bin\0" \ |
282 | "dev_pmmc=0\0" \ | 284 | "dev_pmmc=0\0" \ |
283 | "get_pmmc_net=dhcp ${loadaddr} ${tftp_root}/${name_pmmc}\0" \ | 285 | "get_pmmc_net=dhcp ${loadaddr} ${tftp_root}/${name_pmmc}\0" \ |
286 | "get_pmmc_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_pmmc}\0" \ | ||
284 | "get_pmmc_ramfs=run get_pmmc_net\0" \ | 287 | "get_pmmc_ramfs=run get_pmmc_net\0" \ |
285 | "get_pmmc_mmc=load mmc ${bootpart} ${loadaddr} " \ | 288 | "get_pmmc_mmc=load mmc ${bootpart} ${loadaddr} " \ |
286 | "${bootdir}/${name_pmmc}\0" \ | 289 | "${bootdir}/${name_pmmc}\0" \ |