diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-29 10:28:07 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-01-25 02:31:41 -0500 |
commit | 438ff3f3cc33833206a48492e9d6674e4e82bed8 (patch) | |
tree | 5159b43453c6a86949798af889d3cb0200818b74 /arch/avr32/Kconfig | |
parent | 281ef58ccf62eaa6c4e4b7e4c0a3ee6b52e84e5b (diff) |
[AVR32] Add support for AT32AP7001 and AT32AP7002
These are derivatives of the AT32AP7000 chip, which means that most of
the code stays the same. Rename a few files, functions, definitions
and config symbols to reflect that they apply to all AP700x chips, and
exclude some platform devices from chips where they aren't present.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/Kconfig')
-rw-r--r-- | arch/avr32/Kconfig | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index 767a19cfa423..e37e6b92658d 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
@@ -84,13 +84,26 @@ config PLATFORM_AT32AP | |||
84 | select MMU | 84 | select MMU |
85 | select PERFORMANCE_COUNTERS | 85 | select PERFORMANCE_COUNTERS |
86 | 86 | ||
87 | config CPU_AT32AP700X | ||
88 | bool | ||
89 | select PLATFORM_AT32AP | ||
90 | |||
87 | choice | 91 | choice |
88 | prompt "AVR32 CPU type" | 92 | prompt "AVR32 CPU type" |
89 | default CPU_AT32AP7000 | 93 | default CPU_AT32AP7000 |
90 | 94 | ||
91 | config CPU_AT32AP7000 | 95 | config CPU_AT32AP7000 |
92 | bool "AT32AP7000" | 96 | bool "AT32AP7000" |
93 | select PLATFORM_AT32AP | 97 | select CPU_AT32AP700X |
98 | |||
99 | config CPU_AT32AP7001 | ||
100 | bool "AT32AP7001" | ||
101 | select CPU_AT32AP700X | ||
102 | |||
103 | config CPU_AT32AP7002 | ||
104 | bool "AT32AP7002" | ||
105 | select CPU_AT32AP700X | ||
106 | |||
94 | endchoice | 107 | endchoice |
95 | 108 | ||
96 | # | 109 | # |
@@ -126,15 +139,15 @@ source "arch/avr32/mach-at32ap/Kconfig" | |||
126 | 139 | ||
127 | config LOAD_ADDRESS | 140 | config LOAD_ADDRESS |
128 | hex | 141 | hex |
129 | default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y | 142 | default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
130 | 143 | ||
131 | config ENTRY_ADDRESS | 144 | config ENTRY_ADDRESS |
132 | hex | 145 | hex |
133 | default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y | 146 | default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
134 | 147 | ||
135 | config PHYS_OFFSET | 148 | config PHYS_OFFSET |
136 | hex | 149 | hex |
137 | default 0x10000000 if CPU_AT32AP7000=y | 150 | default 0x10000000 if CPU_AT32AP700X=y |
138 | 151 | ||
139 | source "kernel/Kconfig.preempt" | 152 | source "kernel/Kconfig.preempt" |
140 | 153 | ||