summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2022-05-30 10:23:34 +0300
committerMichaelZhuxx <78013124+MichaelZhuxx@users.noreply.github.com>2023-04-09 17:07:38 +0300
commitdf3534e3aeddf03b01a0ae0d97ab053d90ed003e (patch)
tree50c66092f978d882b7bf826b5b243ac9c85f37d6
parent32375e883659514501ed5b53d525ee2222d3b342 (diff)
downloadu-boot-df3534e3aeddf03b01a0ae0d97ab053d90ed003e.tar.xz
configs: starfive: Change boot order to try DHCP last
Currently, the boot order is DHCP, then MMC. Trying DHCP boot first is not user-friendly, because it can take a long time before falling back to MMC. Also, network booting is usually not wanted when a SD card is inserted. Change order so that we first try MMC, and then fall back to DHCP if MMC booting didn't work. Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
-rw-r--r--include/configs/starfive-jh7100.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/starfive-jh7100.h b/include/configs/starfive-jh7100.h
index f2fe950593..9c9abad5d7 100644
--- a/include/configs/starfive-jh7100.h
+++ b/include/configs/starfive-jh7100.h
@@ -48,8 +48,8 @@
#endif
/* HACK these should have '#if defined (stuff) around them like zynqp*/
-#define BOOT_TARGET_DEVICES(func) func(DHCP, dhcp, na) \
- func(MMC, mmc, 0)
+#define BOOT_TARGET_DEVICES(func) func(MMC, mmc, 0) \
+ func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>