From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjeev Premi Date: Mon, 14 Nov 2011 20:49:08 +0530 Subject: [U-Boot] [PATCH 2/2] omap3evm: Add support for EFI partitions In-Reply-To: <1321283948-6927-1-git-send-email-premi@ti.com> References: <1321283948-6927-1-git-send-email-premi@ti.com> Message-ID: <1321283948-6927-3-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 Defines CONFIG_EFI_PARTITION for OMAP3 EVM. Also, fix this board specific error noticed after enabling this config option: part_efi.c: In function 'alloc_read_gpt_entries': part_efi.c:384:18: error: 'CONFIG_SYS_CACHELINE_SIZE' undeclare d (first use in this function) Signed-off-by: Sanjeev Premi Cc: Sandeep Paulraj --- Cache line length for ARM Cortex-A8 can be referenced here: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344f/Chdebced.html I wasn't sure if these changes should be treated separate, so keeping them in same file - but can be split if needed. include/configs/omap3_evm.h | 1 + include/configs/omap3_evm_common.h | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h index 47ec39f..9228ef1 100644 --- a/include/configs/omap3_evm.h +++ b/include/configs/omap3_evm.h @@ -84,6 +84,7 @@ #define CONFIG_GENERIC_MMC #define CONFIG_OMAP_HSMMC #define CONFIG_DOS_PARTITION +#define CONFIG_EFI_PARTITION /* USB * diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h index 54aa7a7..905a7b0 100644 --- a/include/configs/omap3_evm_common.h +++ b/include/configs/omap3_evm_common.h @@ -53,6 +53,9 @@ /* Size of malloc pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10)) +/* Size of cache line */ +#define CONFIG_SYS_CACHELINE_SIZE 64 + /* * Stack sizes * These values are used in start.S -- 1.7.0.4