Merge git://git.denx.de/u-boot-mpc85xx
[oweals/u-boot.git] / arch / mips / mach-pic32 / Kconfig
index c1cc5e36fb3d0b9d38016333f3784ca1788c9a10..5f13bf14ed6bae99b76fb851e8d3233ff67df731 100644 (file)
@@ -2,6 +2,35 @@ menu "Microchip PIC32 platforms"
        depends on MACH_PIC32
 
 config SYS_SOC
-       default "none"
+       default "pic32mzda" if SOC_PIC32MZDA
+
+choice
+       prompt "PIC32 SoC select"
+
+config SOC_PIC32MZDA
+       bool "Microchip PIC32MZ[DA] family"
+       select MIPS_L1_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