emulate-config_distro_bootcmd-standardization
authorVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
Set additional variables (boot_targets, devtype, devnum, bootpart) to
emulate config_distro_bootcmd.h so that the debian-installer
bootscript will work.

Gbp-Pq: Topic wandboard
Gbp-Pq: Name emulate-config_distro_bootcmd-standardization.diff

include/configs/wandboard.h

index 4f8a804c2045604a02d87087fd615f0d9423c999..3534e336c58d100424b8aac4a7ca8cee0fae3609 100644 (file)
 
 #define CONFIG_BOOTCOMMAND \
        "mmc dev ${mmcdev};" \
+       "setenv boot_targets mmc ; " \
+       "setenv devtype mmc ; " \
+       "setenv devnum ${mmcdev} ; " \
+       "setenv bootpart ${mmcpart} ; " \
        "if mmc rescan; then " \
                "echo SD/MMC found on device ${mmcdev};" \
                "if run loadbootenv; then " \