Fixes for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION* and for SOCFPGA
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 5 repliesIn review
- v25 patches 9 repliesSuperseded
- v14 patches 24 repliesSuperseded
Changes in v3 from the cover letter
- improve commit message of patch 2
- fix #ifdef condition in patch 4
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | spl: Kconfig: Add missing SPL_LOAD_BLOCK for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPEcommon/ | +1 | 1 reply | |
| 2/5 | spl: mmc: Account for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE being a choicecommon/ include/ | +11 | 1 reply | |
| 3/5 | spl: mmc: Respect sector value passed to mmc_load_image_raw_partitioncommon/ | +0 | 1 reply | |
| 4/5 | arch: arm: mach-socfpga: Adjust a raw sectors for MMC loading of U-Boot from SPLarch/ | +11 | 1 reply | |
| 5/5 | configs: socfpga: Fix de0_nano_soc bootconfigs/ | +1 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Tien Fong Chee |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Fixes for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION* and for SOCFPGA
Changes in v3:
- improve commit message of patch 2
- fix #ifdef condition in patch 4
Changes in v2:
- split off "select SPL_LOAD_BLOCK" change
- address build breakage with CONFIG_SPL_SYS_MMCSD_RAW_MODE off
- fix build condition and add comment to mach-socfpga/board.c patch
Several fixes needed after the mmc raw-mode was consolidated a while ago. Not all the fallouts can be blamed to that refactoring. It also looks to me like booting from mmc just worked by chance before.
This series now permits U-Boot proper loading from SPL via partition type, at least on the DE0-Nano-SoC (other boards not available for testing).
Note that even if the socfpga specific changes should not be accepted due to switching to fat mode booting, the first two patches are generic fixes, affecting all RAW_MODE_U_BOOT_USE_PARTITION_TYPE user - of which we have none in-tree, though.
Jan
Jan Kiszka (5):
spl: Kconfig: Add missing SPL_LOAD_BLOCK for
SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
spl: mmc: Account for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
being a choice
spl: mmc: Respect sector value passed to mmc_load_image_raw_partition
arch: arm: mach-socfpga: Adjust a raw sectors for MMC loading of
U-Boot from SPL
configs: socfpga: Fix de0_nano_soc boot
arch/arm/mach-socfpga/board.c | 11 +++++++++++ common/spl/Kconfig | 1 + common/spl/spl_mmc.c | 21 +++++++++------------ configs/socfpga_de0_nano_soc_defconfig | 1 + include/part.h | 3 ++- 5 files changed, 24 insertions(+), 13 deletions(-)
Signature · 1 line
2.51.0