mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-02 19:22:30 +00:00
Moved Rock Pi 4's prioritizing SD on boot to board specific patches dir
This commit is contained in:
parent
9e070954ed
commit
4dd45b56e6
1 changed files with 12 additions and 13 deletions
|
@ -17,23 +17,22 @@ index 1b00ef4..c490a21 100644
|
|||
@@ -11,18 +11,18 @@
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
#include <config_distro_defaults.h>
|
||||
|
||||
|
||||
-/* First try to boot from SD (index 0), then eMMC (index 1 */
|
||||
+/* First try to boot from SD (index 1), then eMMC (index 0) */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
- func(MMC, mmc, 0) \
|
||||
func(MMC, mmc, 1) \
|
||||
+ func(MMC, mmc, 0) \
|
||||
func(USB, usb, 0) \
|
||||
func(PXE, pxe, na) \
|
||||
func(DHCP, dchp, na)
|
||||
- func(MMC, mmc, 0) \
|
||||
func(MMC, mmc, 1) \
|
||||
+ func(MMC, mmc, 0) \
|
||||
func(USB, usb, 0) \
|
||||
func(PXE, pxe, na) \
|
||||
func(DHCP, dchp, na)
|
||||
#else
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
- func(MMC, mmc, 0) \
|
||||
func(MMC, mmc, 1) \
|
||||
+ func(MMC, mmc, 0) \
|
||||
func(PXE, pxe, na) \
|
||||
func(DHCP, dchp, na)
|
||||
- func(MMC, mmc, 0) \
|
||||
func(MMC, mmc, 1) \
|
||||
+ func(MMC, mmc, 0) \
|
||||
func(PXE, pxe, na) \
|
||||
func(DHCP, dchp, na)
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue