Haavard Skinnemoen | 228e845 | 2007-03-07 15:24:34 +0100 | [diff] [blame] | 1 | if PLATFORM_AT32AP |
| 2 | |
| 3 | menu "Atmel AVR32 AP options" |
| 4 | |
Haavard Skinnemoen | e3e7d8d | 2007-02-12 16:28:56 +0100 | [diff] [blame] | 5 | choice |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 6 | prompt "AT32AP700x static memory bus width" |
| 7 | depends on CPU_AT32AP700X |
| 8 | default AP700X_16_BIT_SMC |
Haavard Skinnemoen | e3e7d8d | 2007-02-12 16:28:56 +0100 | [diff] [blame] | 9 | 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 Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 18 | config AP700X_32_BIT_SMC |
Haavard Skinnemoen | e3e7d8d | 2007-02-12 16:28:56 +0100 | [diff] [blame] | 19 | bool "32 bit" |
| 20 | |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 21 | config AP700X_16_BIT_SMC |
Haavard Skinnemoen | e3e7d8d | 2007-02-12 16:28:56 +0100 | [diff] [blame] | 22 | bool "16 bit" |
| 23 | |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 24 | config AP700X_8_BIT_SMC |
Haavard Skinnemoen | e3e7d8d | 2007-02-12 16:28:56 +0100 | [diff] [blame] | 25 | bool "8 bit" |
| 26 | |
| 27 | endchoice |
| 28 | |
Haavard Skinnemoen | 228e845 | 2007-03-07 15:24:34 +0100 | [diff] [blame] | 29 | endmenu |
| 30 | |
Haavard Skinnemoen | e3e7d8d | 2007-02-12 16:28:56 +0100 | [diff] [blame] | 31 | endif # PLATFORM_AT32AP |