Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
hyphop committed Aug 25, 2020
1 parent 26161e0 commit fb5c5fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ index f3d504c9..9ff4d544 100644
BOOTENV_DEV_NAME_##devtypeu(devtypeu, devtypel, instance)
#define BOOTENV_BOOT_TARGETS \
- "boot_targets=" BOOT_TARGET_DEVICES(BOOTENV_DEV_NAME) "\0"
+ "bootcmd_spi=test \"$boot_source\" = \"sd\" && sf probe && sf read $loadaddr 0x160000 0x008000 && script - - 0 1\0" \
+ "bootcmd_spi=test \"$boot_source\" = \"spi\" && sf probe && sf read $loadaddr 0x160000 0x008000 && script - - 0 1\0" \
+ "boot_targets=spi usb0 " BOOT_TARGET_MMC(BOOTENV_DEV_NAME) " pxe dhcp \0"

#define BOOTENV_DEV(devtypeu, devtypel, instance) \
Expand Down

0 comments on commit fb5c5fd

Please sign in to comment.