[U-Boot] [PATCH 2/3] mx6qsabresd: Document the mapping of USDHC[2-4]

Fabio Estevam festevam at gmail.com
Sat Mar 2 23:14:29 CET 2013


On Sat, Mar 2, 2013 at 6:49 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

No commit log. It is really hard for someone to understand why you
need this patch if you do not explain it.

> ---
>  board/freescale/mx6qsabresd/mx6qsabresd.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/board/freescale/mx6qsabresd/mx6qsabresd.c b/board/freescale/mx6qsabresd/mx6qsabresd.c
> index 3c00023..c334403 100644
> --- a/board/freescale/mx6qsabresd/mx6qsabresd.c
> +++ b/board/freescale/mx6qsabresd/mx6qsabresd.c
> @@ -26,6 +26,7 @@
>  #include <asm/errno.h>
>  #include <asm/gpio.h>
>  #include <asm/imx-common/iomux-v3.h>
> +#include <asm/imx-common/boot_mode.h>
>  #include <mmc.h>
>  #include <fsl_esdhc.h>
>  #include <miiphy.h>
> @@ -164,18 +165,21 @@ int board_mmc_init(bd_t *bis)
>
>         for (i = 0; i < CONFIG_SYS_FSL_USDHC_NUM; i++) {
>                 switch (i) {
> +               /* SD2 - mmc0 */

This mapping is dependent on the kernel. Does it make sense to
describe this in the bootloader?


More information about the U-Boot mailing list