[PATCH v2] include: configs: socfpga: Add environment variables for distro boot

Boon Khai Ng via U-Boot <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
Added environment variables needed to support distro boot.

Signed-off-by: Boon Khai Ng <[email protected]>
---
v2:
- Drop the rsu_status environment variable addition. Per review
  comment from Tien Fong, it is not required for distro boot and
  the RSU driver is not yet supported.

v1: https://patchwork.ozlabs.org/project/uboot/
patch/[email protected]/
- Added "nandroot" (rootfs UBI volume for distro boot) and
  "rsu_status" (helper command to show RSU DCMF version/status/retry
  counters) environment variables.
---
 include/configs/socfpga_soc64_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 4d333c63ad9..daa208a27a1 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -144,6 +144,7 @@
 		" ${qspi_clock}; echo QSPI clock frequency updated; fi; fi\0" \
 	"scriptaddr=0x81000000\0" \
 	"scriptfile=boot.scr\0" \
+	"nandroot=ubi0:rootfs\0" \
 	"socfpga_legacy_reset_compat=1\0" \
 	"smc_fid_rd=0xC2000007\0" \
 	"smc_fid_wr=0xC2000008\0" \
-- 
2.43.7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.