Skip to content

Draft: [iMX6][SPL] Enable boot from mmcblkXbootY

Assign a value to CONFIG_SUPPORT_EMMC_BOOT in mx6_common.h to let the proper boot mode being selected.

For iMX6, in arch/arm/mach-imx/spl.c, the config is checked with IS_ENABLED() and it needs to have a value in order to pass the check.

This caused the boot mode always to MMCSD_MODE_RAW with the former definition.

Discussion:

  • the first commit modifies Santino's defconfig to boot from mmcblk0boot0 and considering that all the other boards boots from mmcblk0 - that's not uniform.
  • probably this MR should be only with the last commit as the first commit refers only to a Santino board.

Merge request reports

Loading