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 cubox-i
Gbp-Pq: Name emulate-config_distro_bootcmd-standardization.diff

include/configs/mx6_cubox-i.h

index 59c6040f1d45b790bfad55aa37bc7d6d8ae880c4..88e785325e6b7874f0c48d47841bc6be063855f2 100644 (file)
 
 #define CONFIG_BOOTCOMMAND \
           "mmc dev ${mmcdev}; if mmc rescan; then " \
+               "setenv boot_targets mmc ; " \
+               "setenv devtype mmc ; " \
+               "setenv devnum ${mmcdev} ; " \
+               "setenv bootpart ${mmcpart} ; " \
                "for prefix in ${boot_prefixes}; do " \
                   "setenv file_prefix ${prefix}; " \
                   "run autodetectfdt; " \