diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-29 09:01:08 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-01-20 11:20:29 -0500 |
commit | c017759418fa4956f995e5eb595ea353ca6d9a3c (patch) | |
tree | 5ad0a6432bcaa07f0e77fb50d562d1df27d418c6 /arch/arm | |
parent | 17d2cc25f04462fd5d835318f02fb5492576ab4b (diff) |
ARM: at91: introduce AT91_SAM9_ALT_RESET to select the at91sam9 alternative reset
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-at91/Kconfig | 9 | ||||
-rw-r--r-- | arch/arm/mach-at91/Makefile | 13 |
2 files changed, 16 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 4f991f295284..4275577fddc2 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig | |||
@@ -18,6 +18,9 @@ config HAVE_AT91_USART4 | |||
18 | config HAVE_AT91_USART5 | 18 | config HAVE_AT91_USART5 |
19 | bool | 19 | bool |
20 | 20 | ||
21 | config AT91_SAM9_ALT_RESET | ||
22 | bool | ||
23 | |||
21 | menu "Atmel AT91 System-on-Chip" | 24 | menu "Atmel AT91 System-on-Chip" |
22 | 25 | ||
23 | choice | 26 | choice |
@@ -39,6 +42,7 @@ config ARCH_AT91SAM9260 | |||
39 | select HAVE_AT91_USART4 | 42 | select HAVE_AT91_USART4 |
40 | select HAVE_AT91_USART5 | 43 | select HAVE_AT91_USART5 |
41 | select HAVE_NET_MACB | 44 | select HAVE_NET_MACB |
45 | select AT91_SAM9_ALT_RESET | ||
42 | 46 | ||
43 | config ARCH_AT91SAM9261 | 47 | config ARCH_AT91SAM9261 |
44 | bool "AT91SAM9261" | 48 | bool "AT91SAM9261" |
@@ -46,6 +50,7 @@ config ARCH_AT91SAM9261 | |||
46 | select GENERIC_CLOCKEVENTS | 50 | select GENERIC_CLOCKEVENTS |
47 | select HAVE_FB_ATMEL | 51 | select HAVE_FB_ATMEL |
48 | select HAVE_AT91_DBGU0 | 52 | select HAVE_AT91_DBGU0 |
53 | select AT91_SAM9_ALT_RESET | ||
49 | 54 | ||
50 | config ARCH_AT91SAM9G10 | 55 | config ARCH_AT91SAM9G10 |
51 | bool "AT91SAM9G10" | 56 | bool "AT91SAM9G10" |
@@ -53,6 +58,7 @@ config ARCH_AT91SAM9G10 | |||
53 | select GENERIC_CLOCKEVENTS | 58 | select GENERIC_CLOCKEVENTS |
54 | select HAVE_AT91_DBGU0 | 59 | select HAVE_AT91_DBGU0 |
55 | select HAVE_FB_ATMEL | 60 | select HAVE_FB_ATMEL |
61 | select AT91_SAM9_ALT_RESET | ||
56 | 62 | ||
57 | config ARCH_AT91SAM9263 | 63 | config ARCH_AT91SAM9263 |
58 | bool "AT91SAM9263" | 64 | bool "AT91SAM9263" |
@@ -61,6 +67,7 @@ config ARCH_AT91SAM9263 | |||
61 | select HAVE_FB_ATMEL | 67 | select HAVE_FB_ATMEL |
62 | select HAVE_NET_MACB | 68 | select HAVE_NET_MACB |
63 | select HAVE_AT91_DBGU1 | 69 | select HAVE_AT91_DBGU1 |
70 | select AT91_SAM9_ALT_RESET | ||
64 | 71 | ||
65 | config ARCH_AT91SAM9RL | 72 | config ARCH_AT91SAM9RL |
66 | bool "AT91SAM9RL" | 73 | bool "AT91SAM9RL" |
@@ -69,6 +76,7 @@ config ARCH_AT91SAM9RL | |||
69 | select HAVE_AT91_USART3 | 76 | select HAVE_AT91_USART3 |
70 | select HAVE_FB_ATMEL | 77 | select HAVE_FB_ATMEL |
71 | select HAVE_AT91_DBGU0 | 78 | select HAVE_AT91_DBGU0 |
79 | select AT91_SAM9_ALT_RESET | ||
72 | 80 | ||
73 | config ARCH_AT91SAM9G20 | 81 | config ARCH_AT91SAM9G20 |
74 | bool "AT91SAM9G20" | 82 | bool "AT91SAM9G20" |
@@ -79,6 +87,7 @@ config ARCH_AT91SAM9G20 | |||
79 | select HAVE_AT91_USART4 | 87 | select HAVE_AT91_USART4 |
80 | select HAVE_AT91_USART5 | 88 | select HAVE_AT91_USART5 |
81 | select HAVE_NET_MACB | 89 | select HAVE_NET_MACB |
90 | select AT91_SAM9_ALT_RESET | ||
82 | 91 | ||
83 | config ARCH_AT91SAM9G45 | 92 | config ARCH_AT91SAM9G45 |
84 | bool "AT91SAM9G45" | 93 | bool "AT91SAM9G45" |
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile index 242174f9f355..e8e961bb5f33 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile | |||
@@ -8,15 +8,16 @@ obj-n := | |||
8 | obj- := | 8 | obj- := |
9 | 9 | ||
10 | obj-$(CONFIG_AT91_PMC_UNIT) += clock.o | 10 | obj-$(CONFIG_AT91_PMC_UNIT) += clock.o |
11 | obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o | ||
11 | 12 | ||
12 | # CPU-specific support | 13 | # CPU-specific support |
13 | obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o | 14 | obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o |
14 | obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o at91sam9_alt_reset.o | 15 | obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o |
15 | obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o at91sam9_alt_reset.o | 16 | obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o |
16 | obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o at91sam9_alt_reset.o | 17 | obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o |
17 | obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o sam9_smc.o at91sam9_alt_reset.o | 18 | obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o sam9_smc.o |
18 | obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o sam9_smc.o at91sam9_alt_reset.o | 19 | obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o sam9_smc.o |
19 | obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o at91sam9_alt_reset.o | 20 | obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o |
20 | obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45.o at91sam926x_time.o at91sam9g45_devices.o sam9_smc.o | 21 | obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45.o at91sam926x_time.o at91sam9g45_devices.o sam9_smc.o |
21 | obj-$(CONFIG_ARCH_AT91CAP9) += at91cap9.o at91sam926x_time.o at91cap9_devices.o sam9_smc.o | 22 | obj-$(CONFIG_ARCH_AT91CAP9) += at91cap9.o at91sam926x_time.o at91cap9_devices.o sam9_smc.o |
22 | obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o | 23 | obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o |