summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSamin Guo <samin.guo@starfivetech.com>2022-11-01 11:26:21 +0300
committerSamin Guo <samin.guo@starfivetech.com>2022-11-01 13:54:21 +0300
commitca91f535d48d02088ed4b5ad78eb343c0325b8c9 (patch)
tree132f1f71b8be86754db8622d4f17f32ed26b51ce /configs
parent0dbe3fb0be546f2be7adaee6baf6d550fbba4e26 (diff)
downloadu-boot-ca91f535d48d02088ed4b5ad78eb343c0325b8c9.tar.xz
board:starfive:evb: Support using env to detect board version
JH7110B need tx_inverted by YT8521 phy, you need to read the chip version to determine whether to use it. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/starfive_evb_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/starfive_evb_defconfig b/configs/starfive_evb_defconfig
index 613548407e..fe08ef22d0 100644
--- a/configs/starfive_evb_defconfig
+++ b/configs/starfive_evb_defconfig
@@ -27,6 +27,8 @@ CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi "
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="fatload mmc 0:3 $kernel_addr_r jh7110_uEnv.txt; env import -t $kernel_addr_r $filesize;run boot2"
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="run chipa_set_uboot"
CONFIG_LOG_MAX_LEVEL=4
CONFIG_SPL_LOG=y
CONFIG_DISPLAY_CPUINFO=y