blob: a7bbcc82058edc5828b7a67b3c90747f04ab5a88 [file] [log] [blame]
Haavard Skinnemoen228e8452007-03-07 15:24:34 +01001if PLATFORM_AT32AP
2
3menu "Atmel AVR32 AP options"
4
Haavard Skinnemoene3e7d8d2007-02-12 16:28:56 +01005choice
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +01006 prompt "AT32AP700x static memory bus width"
7 depends on CPU_AT32AP700X
8 default AP700X_16_BIT_SMC
Haavard Skinnemoene3e7d8d2007-02-12 16:28:56 +01009 help
10 Define the width of the AP7000 external static memory interface.
11 This is used to determine how to mangle the address and/or data
12 when doing little-endian port access.
13
14 The current code can only support a single external memory bus
15 width for all chip selects, excluding the flash (which is using
16 raw access and is thus not affected by any of this.)
17
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010018config AP700X_32_BIT_SMC
Haavard Skinnemoene3e7d8d2007-02-12 16:28:56 +010019 bool "32 bit"
20
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010021config AP700X_16_BIT_SMC
Haavard Skinnemoene3e7d8d2007-02-12 16:28:56 +010022 bool "16 bit"
23
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010024config AP700X_8_BIT_SMC
Haavard Skinnemoene3e7d8d2007-02-12 16:28:56 +010025 bool "8 bit"
26
27endchoice
28
Haavard Skinnemoen228e8452007-03-07 15:24:34 +010029endmenu
30
Haavard Skinnemoene3e7d8d2007-02-12 16:28:56 +010031endif # PLATFORM_AT32AP