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

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Wed Mar 1 20:10:38 UTC 2017


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

-- 
1.9.1



More information about the U-Boot mailing list