Skip to content

omap3evm: Add support for EFI partitions

Sanjeev Premi u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Use ARCH_DMA_MINALIGN instead of CONFIG_SYS_CACHELINE_SIZE in disk/part_efi.c.
* Removed (now) redundant definition of CONFIG_SYS_CACHELINE_SIZE from /include/configs/omap3_evm_common.h

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2part_efi: Fix compile errorsdisk/part_efi.c+3 -30 replies
2/2omap3evm: Add support for EFI partitionsinclude/configs/omap3_evm.h+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCHv2 0/2] omap3evm: Add support for EFI partitions

After enabling CONFIG_EFI_PARTITION, following errors were noticed.

part_efi.c: In function 'print_part_efi':
part_efi.c:133:5: warning: passing argument 3 of 'is_gpt_valid'
from incompatible pointer type
part_efi.c:95:12: note: expected 'struct gpt_header *' but arg ument is of type 'struct gpt_header **'
part_efi.c: In function 'get_partition_info_efi':
part_efi.c:173:4: warning: passing argument 3 of 'is_gpt_valid ' from incompatible pointer type
part_efi.c:95:12: note: expected 'struct gpt_header *' but arg ument is of type 'struct gpt_header **'
part_efi.c: In function 'alloc_read_gpt_entries':
part_efi.c:384:18: error: 'CONFIG_SYS_CACHELINE_SIZE' undeclar ed (first use in this function)
part_efi.c:384:18: note: each undeclared identifier is reporte d only once for each function it appears in
make[1]: *** [part_efi.o] Error 1
make[1]: Leaving directory `/home/premi/disk'
make: *** [disk/libdisk.o] Error 2

Tested working via command "mmc part" on OMAP3EVM on MMC card with EFI partitions.

Changes since v1:
* Use ARCH_DMA_MINALIGN instead of CONFIG_SYS_CACHELINE_SIZE in disk/part_efi.c.
* Removed (now) redundant definition of CONFIG_SYS_CACHELINE_SIZE from /include/configs/omap3_evm_common.h

REF: http://lists.denx.de/pipermail/u-boot/2011-November/109895.html

Sanjeev Premi (2):
part_efi: Fix compile errors
omap3evm: Add support for EFI partitions

 disk/part_efi.c             |    6 +++---
 include/configs/omap3_evm.h |    1 +
 2 files changed, 4 insertions(+), 3 deletions(-)
Cc Sandeep Paulraj <[email protected]>