This adds the bmode support for i.MX6 SabreSD and SabreAUTO boards. This allows user to choose the boot mode at runtime making it easy to boot from USB or other media.
This patchset has been tested in SabreSD but only build tested in SabreAUTO as I don't have the board for testing. Changes in v5: - Improve comment in code for easier understanding (Fabio) - Fix build failure in SabreAUTO - Move include of boot_mode.h header to this patch Changes in v4: - Fix switch code to proper break (Stefano) Changes in v3: - Drop change in bootdelay; the change where done by me while testing it and I mistakenly included it. Changes in v2: - Improve commit log - Rework code to use a 'ret' variable (Fabio) Otavio Salvador (3): mx6qsabresd: Document the mapping of USDHC[2-4] mx6qsabresd: Fix card detection for invalid card id case mx6qsabre{sd,auto}: Add boot mode select board/freescale/mx6qsabreauto/mx6qsabreauto.c | 18 +++++++++++ board/freescale/mx6qsabresd/mx6qsabresd.c | 43 ++++++++++++++++++++++++--- include/configs/mx6qsabre_common.h | 2 ++ 3 files changed, 59 insertions(+), 4 deletions(-) -- 1.8.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot