aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-15 05:44:40 -0500
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-04-17 05:00:19 -0400
commit5f29d0a0ee2c3c2ed06384c923db336183ee6708 (patch)
treeb1a9ea0ea5c256be12f685c2699d2638e0035b4f /arch/arm/mach-at91/Kconfig
parentc40a763be603867c226505dbe0845ea16a4ee538 (diff)
ARM: at91: uncompress: autodetect the uart to use
This will now autodetect the first uart enabled by the bootloader and will use it for uncompress. This will still assume that the bootloader configured it (pins and clock). This also allows to include all soc headers together. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/Kconfig')
-rw-r--r--arch/arm/mach-at91/Kconfig53
1 files changed, 0 insertions, 53 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 8acc1649c820..885fdb93618b 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -9,15 +9,6 @@ config HAVE_AT91_DBGU0
9config HAVE_AT91_DBGU1 9config HAVE_AT91_DBGU1
10 bool 10 bool
11 11
12config HAVE_AT91_USART3
13 bool
14
15config HAVE_AT91_USART4
16 bool
17
18config HAVE_AT91_USART5
19 bool
20
21config AT91_SAM9_ALT_RESET 12config AT91_SAM9_ALT_RESET
22 bool 13 bool
23 default !ARCH_AT91X40 14 default !ARCH_AT91X40
@@ -36,16 +27,12 @@ config ARCH_AT91RM9200
36 select CPU_ARM920T 27 select CPU_ARM920T
37 select GENERIC_CLOCKEVENTS 28 select GENERIC_CLOCKEVENTS
38 select HAVE_AT91_DBGU0 29 select HAVE_AT91_DBGU0
39 select HAVE_AT91_USART3
40 30
41config ARCH_AT91SAM9260 31config ARCH_AT91SAM9260
42 bool "AT91SAM9260 or AT91SAM9XE" 32 bool "AT91SAM9260 or AT91SAM9XE"
43 select CPU_ARM926T 33 select CPU_ARM926T
44 select GENERIC_CLOCKEVENTS 34 select GENERIC_CLOCKEVENTS
45 select HAVE_AT91_DBGU0 35 select HAVE_AT91_DBGU0
46 select HAVE_AT91_USART3
47 select HAVE_AT91_USART4
48 select HAVE_AT91_USART5
49 select HAVE_NET_MACB 36 select HAVE_NET_MACB
50 37
51config ARCH_AT91SAM9261 38config ARCH_AT91SAM9261
@@ -74,7 +61,6 @@ config ARCH_AT91SAM9RL
74 bool "AT91SAM9RL" 61 bool "AT91SAM9RL"
75 select CPU_ARM926T 62 select CPU_ARM926T
76 select GENERIC_CLOCKEVENTS 63 select GENERIC_CLOCKEVENTS
77 select HAVE_AT91_USART3
78 select HAVE_FB_ATMEL 64 select HAVE_FB_ATMEL
79 select HAVE_AT91_DBGU0 65 select HAVE_AT91_DBGU0
80 66
@@ -83,16 +69,12 @@ config ARCH_AT91SAM9G20
83 select CPU_ARM926T 69 select CPU_ARM926T
84 select GENERIC_CLOCKEVENTS 70 select GENERIC_CLOCKEVENTS
85 select HAVE_AT91_DBGU0 71 select HAVE_AT91_DBGU0
86 select HAVE_AT91_USART3
87 select HAVE_AT91_USART4
88 select HAVE_AT91_USART5
89 select HAVE_NET_MACB 72 select HAVE_NET_MACB
90 73
91config ARCH_AT91SAM9G45 74config ARCH_AT91SAM9G45
92 bool "AT91SAM9G45 or AT91SAM9M10 families" 75 bool "AT91SAM9G45 or AT91SAM9M10 families"
93 select CPU_ARM926T 76 select CPU_ARM926T
94 select GENERIC_CLOCKEVENTS 77 select GENERIC_CLOCKEVENTS
95 select HAVE_AT91_USART3
96 select HAVE_FB_ATMEL 78 select HAVE_FB_ATMEL
97 select HAVE_NET_MACB 79 select HAVE_NET_MACB
98 select HAVE_AT91_DBGU1 80 select HAVE_AT91_DBGU1
@@ -526,41 +508,6 @@ config AT91_TIMER_HZ
526 system clock (of at least several MHz), rounding is less of a 508 system clock (of at least several MHz), rounding is less of a
527 problem so it can be safer to use a decimal values like 100. 509 problem so it can be safer to use a decimal values like 100.
528 510
529choice
530 prompt "Select a UART for early kernel messages"
531
532config AT91_EARLY_DBGU0
533 bool "DBGU on rm9200, 9260/9g20, 9261/9g10, 9rl and 9x5"
534 depends on HAVE_AT91_DBGU0
535
536config AT91_EARLY_DBGU1
537 bool "DBGU on 9263 and 9g45"
538 depends on HAVE_AT91_DBGU1
539
540config AT91_EARLY_USART0
541 bool "USART0"
542
543config AT91_EARLY_USART1
544 bool "USART1"
545
546config AT91_EARLY_USART2
547 bool "USART2"
548 depends on ! ARCH_AT91X40
549
550config AT91_EARLY_USART3
551 bool "USART3"
552 depends on HAVE_AT91_USART3
553
554config AT91_EARLY_USART4
555 bool "USART4"
556 depends on HAVE_AT91_USART4
557
558config AT91_EARLY_USART5
559 bool "USART5"
560 depends on HAVE_AT91_USART5
561
562endchoice
563
564endmenu 511endmenu
565 512
566endif 513endif