ab92b38a01
We move the SYS_CACHE_SHIFT_N options from arch/arm/Kconfig to arch/Kconfig, and introduce SYS_CACHE_SHIFT_4 to provide a size of 16. Introduce select statements for other architectures based on current usage. For MIPS, we take the existing arch-specific symbol and migrate to the generic symbol. This lets us remove a little bit of otherwise unused code. Cc: Alexey Brodkin <alexey.brodkin@synopsys.com> Cc: Anup Patel <anup.patel@wdc.com> Cc: Atish Patra <atish.patra@wdc.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Leo <ycliang@andestech.com> Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Sean Anderson <seanga2@gmail.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com>
37 lines
722 B
Plaintext
37 lines
722 B
Plaintext
menu "Microchip PIC32 platforms"
|
|
depends on MACH_PIC32
|
|
|
|
config SYS_SOC
|
|
default "pic32mzda" if SOC_PIC32MZDA
|
|
|
|
choice
|
|
prompt "PIC32 SoC select"
|
|
|
|
config SOC_PIC32MZDA
|
|
bool "Microchip PIC32MZ[DA] family"
|
|
select SYS_CACHE_SHIFT_4
|
|
select ROM_EXCEPTION_VECTORS
|
|
select SUPPORTS_CPU_MIPS32_R1
|
|
select SUPPORTS_CPU_MIPS32_R2
|
|
select SUPPORTS_LITTLE_ENDIAN
|
|
select SYS_MIPS_CACHE_INIT_RAM_LOAD
|
|
help
|
|
This supports Microchip PIC32MZ[DA] family of microcontrollers.
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Board select"
|
|
|
|
config TARGET_PIC32MZDASK
|
|
bool "Microchip PIC32MZ[DA] Starter Kit"
|
|
depends on SOC_PIC32MZDA
|
|
help
|
|
This supports Microchip PIC32MZ[DA] Starter Kit.
|
|
|
|
endchoice
|
|
|
|
source "board/microchip/pic32mzda/Kconfig"
|
|
|
|
endmenu
|