[U-Boot] [PATCH v2 0/2] part_efi: support padding between the GPT header and partition entries

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Wed Feb 22 18:17:22 UTC 2017


Some architectures require their SPL loader at a fixed address within
the first 16KB of the disk. To avoid an overlap with the partition
entries of the EFI partition table, the first safe offset (in bytes,
from the start of the device) for the entries can be set through
CONFIG_EFI_PARTITION_ENTRIES_OFF.

For easier readability, I kept the functional changes separate from
the update of the device-tree-bindings documentation.


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)


Philipp Tomsich (2):
  part_efi: support padding between the GPT header and partition entries
  part_efi: document device-tree binding for part_efi configuration

 disk/Kconfig                        | 13 ++++++++++
 disk/part_efi.c                     | 50 ++++++++++++++++++++++++++++++++++---
 doc/README.fdt-control              | 16 ------------
 doc/device-tree-bindings/config.txt | 22 ++++++++++++++++
 4 files changed, 81 insertions(+), 20 deletions(-)
 create mode 100644 doc/device-tree-bindings/config.txt

-- 
1.9.1



More information about the U-Boot mailing list