summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamin Guo <samin.guo@starfivetech.com>2023-08-16 09:19:37 +0300
committerSamin Guo <samin.guo@starfivetech.com>2023-08-16 10:12:06 +0300
commit753a4ad8445caf268a49dd5930e7a6f4570e2ecc (patch)
tree4ee09550d84e1d0ac0d18ad0bfdc20fafc8b994e
parentaf8ba43c10f37d4669c26406473dfb22cd6c077b (diff)
downloadu-boot-753a4ad8445caf268a49dd5930e7a6f4570e2ecc.tar.xz
riscv: starfive: vf2: Add VF2_SDK_BOOTENV
Add BOOTENV for visionfive 2 Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
-rw-r--r--include/configs/starfive-visionfive2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h
index 92450087ac..8092362651 100644
--- a/include/configs/starfive-visionfive2.h
+++ b/include/configs/starfive-visionfive2.h
@@ -198,6 +198,15 @@
"run visionfive2_mem_set;" \
"run chipa_set;\0"
+#define VF2_SDK_BOOTENV \
+ "bootenv=uEnv.txt\0" \
+ "bootenv_sdk=vf2_uEnv.txt\0" \
+ "boot_devs=mmc nvme\0" \
+ "emmc_devnum=0\0" \
+ "sd_devnum=1\0" \
+ "mmc_devnum_l=1 0\0" \
+ "nvme_devnum_l=0 0\0"
+
#define JH7110_SDK_BOOTENV \
"bootdir=/boot\0" \
"bootpart=3\0" \
@@ -321,6 +330,7 @@
"ramdisk_addr_r=0x46100000\0" \
"fdtoverlay_addr_r=0x4f000000\0" \
"loadaddr=0x60000000\0" \
+ VF2_SDK_BOOTENV \
JH7110_SDK_BOOTENV \
JH7110_DISTRO_BOOTENV \
CHIPA_GMAC_SET \