[PATCH 6/6] at91: use ARM_EXCEPTION_VECTOR6 options
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Jan 3 00:00:50 EST 2012
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 at 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
More information about the barebox
mailing list