
On Thu, Mar 20, 2014 at 05:12:57PM -0500, Dennis Gilmore wrote:
As the next step in a generic config we are introducing a set of generic boot paramaters. Depending on the hardwares configuration, booting from supported hardware will be enabled, mmc, usb, sata, scsi, ide, pxe and dhcp.
There is nothing to stop this being extended to support nand and any other type of storage that comes along. An ideal future enhancement will be to allow the user to dynamically reorder the boot devices, and allow one off boots. for example simply be able to pxe boot to reinstall
[snip]
- "bootcmd_mmc0=setenv devnum 0; run mmc_boot;\0" \
- "bootcmd_mmc1=setenv devnum 1; run mmc_boot;\0"
+#define BOOT_TARGETS_MMC "mmc1 mmc0"
This is because we want to prefer eMMC to SD card? Or is mmc1=SD, mmc0=eMMC on Tegra? That's opposite of TI parts so we might need to #ifndef/define/endif that combo at least.
Otherwise:
Reviewed-by: Tom Rini trini@ti.com