From: Sanjeev Premi <premi@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] omap3evm: Add support for EFI partitions
Date: Mon, 14 Nov 2011 20:49:08 +0530 [thread overview]
Message-ID: <1321283948-6927-3-git-send-email-premi@ti.com> (raw)
In-Reply-To: <1321283948-6927-1-git-send-email-premi@ti.com>
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 <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---
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
next prev parent reply other threads:[~2011-11-14 15:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-14 15:19 [U-Boot] [PATCH 0/2] omap3evm: Add support for EFI partitions Sanjeev Premi
2011-11-14 15:19 ` [U-Boot] [PATCH 1/2] part_efi: Fix compile errors Sanjeev Premi
2011-11-14 21:23 ` Anton Staaf
2011-11-14 15:19 ` Sanjeev Premi [this message]
2011-11-14 15:34 ` [U-Boot] [PATCH 0/2] omap3evm: Add support for EFI partitions Tom Rini
2011-11-15 6:44 ` Premi, Sanjeev
2011-11-15 13:15 ` Premi, Sanjeev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321283948-6927-3-git-send-email-premi@ti.com \
--to=premi@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox