[U-Boot] [PATCH v9 0/2] SPL: Add support to boot a partition type

Dalon Westergreen dwesterg at gmail.com
Sat Feb 11 01:15:33 UTC 2017


This adds support for the spl to seach for and boot from an arbitrary
partition type rather then a specific partition number.  When
USE_PARTITION_TYPE is enabled, spl will search for the partition type but
fallback to the specified partition number.
 
SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION is moved to a Kconfig and header and
defconfigs for the affected boards are updated.

Changes in v9:
 - Missed moving use partition type to socfpga/Kconfig
Changes in v8:
 -> Move partition type default to arch/arm/mach-socfpga/Kconfig
Changes in v7:
 -> set part type to 0xa2 only if socfpga selected and merge previously split
    patch
Changes in V6:
 -> Fix unneeded backslash
 -> Move SPL socfpga Kconfig default to selec tin arch/arm/Kconfig
 -> Split out defconfig changes for affected boards into a separate patch

Dalon Westergreen (2):
  SPL: add support to boot from a partition type
  SPL: Move SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to Kconfig

 arch/arm/Kconfig                 |  1 +
 common/spl/Kconfig               | 32 ++++++++++++++++++++++++++++++++
 common/spl/spl_mmc.c             | 27 ++++++++++++++++++---------
 configs/db-88f6820-gp_defconfig  |  1 +
 configs/kc1_defconfig            |  2 ++
 configs/sniper_defconfig         |  2 ++
 disk/part_dos.c                  |  1 +
 include/configs/db-88f6820-gp.h  |  1 -
 include/configs/kc1.h            |  2 --
 include/configs/sniper.h         |  2 --
 include/configs/socfpga_common.h |  2 --
 include/part.h                   |  3 +++
 12 files changed, 60 insertions(+), 16 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list