From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 6/6] at91: use ARM_EXCEPTION_VECTOR6 options
Date: Tue, 3 Jan 2012 06:00:50 +0100 [thread overview]
Message-ID: <1325566850-24432-6-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1325566850-24432-1-git-send-email-plagnioj@jcrosoft.com>
to pass the bare_init or barebox size via the vector 6
ARM_EXCEPTION_VECTOR6_BARE_INIT_SIZE bare_init size
ARM_EXCEPTION_VECTOR6_SIZE barebox size
need by at91 bootstrap (optional, binary size) or
rom code to boot from nand as example (mandatory, code to load and run in sram)
and the exception vector MUST be at the beginning of the binary
for now use barebox size
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
arch/arm/mach-at91/Kconfig | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 0e56afb..0df8e68 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -49,34 +49,46 @@ config ARCH_AT91SAM9260
select CPU_ARM926T
select HAS_MACB
select AT91SAM9_RESET
+ select ARM_EXCEPTION_VECTOR6
+ select ARM_EXCEPTION_VECTOR6_SIZE
config ARCH_AT91SAM9261
bool "AT91SAM9261"
select CPU_ARM926T
select AT91SAM9_RESET
+ select ARM_EXCEPTION_VECTOR6
+ select ARM_EXCEPTION_VECTOR6_SIZE
config ARCH_AT91SAM9263
bool "AT91SAM9263"
select CPU_ARM926T
select HAS_MACB
select AT91SAM9_RESET
+ select ARM_EXCEPTION_VECTOR6
+ select ARM_EXCEPTION_VECTOR6_SIZE
config ARCH_AT91SAM9G10
bool "AT91SAM9G10"
select CPU_ARM926T
select AT91SAM9_RESET
+ select ARM_EXCEPTION_VECTOR6
+ select ARM_EXCEPTION_VECTOR6_SIZE
config ARCH_AT91SAM9G20
bool "AT91SAM9G20"
select CPU_ARM926T
select HAS_MACB
select AT91SAM9_RESET
+ select ARM_EXCEPTION_VECTOR6
+ select ARM_EXCEPTION_VECTOR6_SIZE
config ARCH_AT91SAM9G45
bool "AT91SAM9G45 or AT91SAM9M10"
select CPU_ARM926T
select HAS_MACB
select AT91SAM9G45_RESET
+ select ARM_EXCEPTION_VECTOR6
+ select ARM_EXCEPTION_VECTOR6_SIZE
endchoice
--
1.7.7
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2012-01-03 5:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 5:00 [PATCH 1/6] defaultenv: source the init_board so we can keep exported env Jean-Christophe PLAGNIOL-VILLARD
2012-01-03 5:00 ` [PATCH 2/6] defaultenv: enable progress for cp Jean-Christophe PLAGNIOL-VILLARD
2012-01-03 5:00 ` [PATCH 3/6] poller_call: move from getc to is_timeout Jean-Christophe PLAGNIOL-VILLARD
2012-01-04 9:25 ` Sascha Hauer
2012-01-04 10:46 ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-03 5:00 ` [PATCH 4/6] arm: introduce barebox_bare_init_size to known the bare_init size Jean-Christophe PLAGNIOL-VILLARD
2012-01-03 5:00 ` [PATCH 5/6] ARM: add ARM_EXCEPTION_VECTOR6 options Jean-Christophe PLAGNIOL-VILLARD
2012-01-04 10:26 ` Sascha Hauer
2012-01-03 5:00 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
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=1325566850-24432-6-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
/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