X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Favr32%2Fmach-at32ap%2FKconfig;h=a7bbcc82058edc5828b7a67b3c90747f04ab5a88;hb=d9cadb0d2ffed847851945a66e80d0b9d767611c;hp=d7497715cc026a89bccb5400e61e98764e3e2741;hpb=228e845fd243bf42033998afab792357444e9e4a;p=cascardo%2Flinux.git diff --git a/arch/avr32/mach-at32ap/Kconfig b/arch/avr32/mach-at32ap/Kconfig index d7497715cc02..a7bbcc82058e 100644 --- a/arch/avr32/mach-at32ap/Kconfig +++ b/arch/avr32/mach-at32ap/Kconfig @@ -2,6 +2,30 @@ if PLATFORM_AT32AP menu "Atmel AVR32 AP options" +choice + prompt "AT32AP700x static memory bus width" + depends on CPU_AT32AP700X + default AP700X_16_BIT_SMC + help + Define the width of the AP7000 external static memory interface. + This is used to determine how to mangle the address and/or data + when doing little-endian port access. + + The current code can only support a single external memory bus + width for all chip selects, excluding the flash (which is using + raw access and is thus not affected by any of this.) + +config AP700X_32_BIT_SMC + bool "32 bit" + +config AP700X_16_BIT_SMC + bool "16 bit" + +config AP700X_8_BIT_SMC + bool "8 bit" + +endchoice + endmenu -endif +endif # PLATFORM_AT32AP