From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjeev Premi Date: Mon, 14 Nov 2011 20:49:06 +0530 Subject: [U-Boot] [PATCH 0/2] omap3evm: Add support for EFI partitions Message-ID: <1321283948-6927-1-git-send-email-premi@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 `/db/psp_git/users/a0756819/u-boot/ disk' make: *** [disk/libdisk.o] Error 2 Fixes for these errors are contained in PATCH 1/2. Tested working via command "mmc part" on OMAP3EVM on MMC card with EFI partitions. Sanjeev Premi (2): part_efi: Fix compile errors omap3evm: Add support for EFI partitions disk/part_efi.c | 4 ++-- include/configs/omap3_evm.h | 1 + include/configs/omap3_evm_common.h | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) Cc: Sandeep Paulraj