Skip to content

disk: efi: allow gap before partition entries

Philipp Tomsich u-boot 3 versions – New

Get series with b4
b4 am 1488399041-35666-1-git-send-email-philipp.tomsich@theobroma-systems.com

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* fixed comment styles
* split documentation content move and adding new content into two patches

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3part_efi: support padding between the GPT header and partition entriesdisk/Kconfig disk/part_efi.c+63 -41 reply
2/3doc: move documentation for /config node into a separate filedoc/README.fdt-control doc/device-tree-bindings/config.txt+14 -161 reply
3/3part_efi: document device-tree binding for part_efi configurationdoc/device-tree-bindings/config.txt+8 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/3] disk: efi: allow gap before partition entries

Motivated by the the SPL layout for SD/MMC devices on Allwinner SoCs (the SPL code needs to reside an 8K offset into the device), we add support for leaving a gap between the MBR (LBA#0), GPT header (LBA#1) and GPT partition entries (linked from field in the GPT header).

Changes in v2:
* CONFIG_EFI_PARTITION_ENTRIES_OFF is configurable via Kconfig
* added clamping to ensure that the parititions are never put into the first to LBAs of a device
* documented the new /config property (and moved the documentation of /config properties into a separate file per Simon's review comment)

Changes in v3:
* fixed comment styles
* split documentation content move and adding new content into two patches

Philipp Tomsich (3):
part_efi: support padding between the GPT header and partition entries
doc: move documentation for /config node into a separate file
part_efi: document device-tree binding for part_efi configuration

 disk/Kconfig                        | 13 +++++++++
 disk/part_efi.c                     | 54 ++++++++++++++++++++++++++++++++++---
 doc/README.fdt-control              | 16 -----------
 doc/device-tree-bindings/config.txt | 22 +++++++++++++++
 4 files changed, 85 insertions(+), 20 deletions(-)
 create mode 100644 doc/device-tree-bindings/config.txt
Signature · 1 line
1.9.1