[PATCH] arm: rpi: set boot_targets with correct macro expansion

Date Huang tjjh89017 at hotmail.com
Sat Sep 23 20:34:22 CEST 2023


rpi uboot will only try to load mmcnr at 7e300000.bootdev
which is wlan interface if boot_targets only has `mmc`
Change it to `mmc0 mmc1 mmc2 usb0 pxe dhcp`

Signed-off-by: Date Huang <tjjh89017 at hotmail.com>
---
 board/raspberrypi/rpi/rpi.env | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env
index 30228285ed..08a3648838 100644
--- a/board/raspberrypi/rpi/rpi.env
+++ b/board/raspberrypi/rpi/rpi.env
@@ -74,4 +74,4 @@ pxefile_addr_r=0x02500000
 fdt_addr_r=0x02600000
 ramdisk_addr_r=0x02700000
 
-boot_targets=mmc usb pxe dhcp
+boot_targets=mmc0 mmc1 mmc2 usb0 pxe dhcp
-- 
2.34.1



More information about the U-Boot mailing list