Skip to content

SPL: Add support to boot a partition type

Marek Vasut u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest0 of 2 patches 0 repliesNew
  2. v81 of 2 patches 0 repliesSuperseded
  3. v61 of 3 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v4 posting 2/20 of 2 patches0 repliesSuperseded
v4 posting 1/22 patches0 repliesSuperseded

Patches in v9 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchMarek Vasut
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [U-Boot] [PATCH v9 0/2] SPL: Add support to boot a partition type
Quoted 24 lines · Dalon Westergreen

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

Quoted 14 lines
 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(-)

Series

Signature · 2 lines
Best regards,
Marek Vasut