ARCH:=arm
BOARD:=at91
MAINTAINER:=Claudio Mignanti <c.mignanti@gmail.com>
-BOARDNAME:=Atmel AT91
+BOARDNAME:=Microchip (Atmel AT91)
FEATURES:=squashfs targz ext2 usb usbgadget ubifs
-SUBTARGETS:=legacy sama5d3
+SUBTARGETS:=sama5 legacy
KERNEL_PATCHVER:=4.4
include ./legacy.mk
UBIFS_OPTS := -m 2048 -e 126KiB -c 2048
endif
-ifeq ($(SUBTARGET),sama5d3)
-include ./sama5d3.mk
+
+ifeq ($(SUBTARGET),sama5)
+include ./sama5.mk
UBIFS_OPTS := -m 2048 -e 124KiB -c 2048
endif
--- /dev/null
+define Device/at91-sama5d3_xplained
+ $(Device/evaluation-dtb)
+ DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D3 Xplained
+ KERNEL_SIZE := 6144k
+ SUBPAGESIZE := 2048
+endef
+TARGET_DEVICES += at91-sama5d3_xplained
+++ /dev/null
-define Device/at91-sama5d3_xplained
- $(Device/evaluation-dtb)
- DEVICE_TITLE := Atmel AT91SAMA5D3XPLAINED
- KERNEL_SIZE := 6144k
- SUBPAGESIZE := 2048
-endef
-TARGET_DEVICES += at91-sama5d3_xplained
-
--- /dev/null
+# CONFIG_ARCH_MULTI_V4_V5 is not set
+# CONFIG_ARCH_MULTI_V5 is not set
+CONFIG_ARCH_MULTI_V7=y
+# CONFIG_ARM_LPAE is not set
+# CONFIG_ARM_THUMBEE is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_SOC_SAMA5=y
+# CONFIG_SOC_SAM_V4_V5 is not set
+CONFIG_SOC_SAM_V7=y
+CONFIG_SOC_SAMA5D2=y
+CONFIG_SOC_SAMA5D3=y
+CONFIG_SOC_SAMA5D4=y
+CONFIG_MACH_SAMA5_DT=y
+CONFIG_PL310_ERRATA_588369=y
+CONFIG_PL310_ERRATA_727915=y
+CONFIG_PL310_ERRATA_753970=y
+CONFIG_PL310_ERRATA_769419=y
+# CONFIG_SWP_EMULATE is not set
+# CONFIG_THUMB2_KERNEL is not set
--- /dev/null
+BOARDNAME:=SAMA5 Xplained boards(Cortex-A5)
+CPU_TYPE:=cortex-a5
+
+DEFAULT_PACKAGES += kmod-usb2
+
+define Target/Description
+ Build generic firmware for Microchip(Atmel AT91) SAMA5 MPU's
+ using the ARMv7 instruction set.
+endef
+++ /dev/null
-# CONFIG_ARCH_MULTI_V4_V5 is not set
-# CONFIG_ARCH_MULTI_V5 is not set
-CONFIG_ARCH_MULTI_V7=y
-# CONFIG_ARM_LPAE is not set
-# CONFIG_ARM_THUMBEE is not set
-# CONFIG_CPU_ICACHE_DISABLE is not set
-# CONFIG_CPU_BPREDICT_DISABLE is not set
-CONFIG_SOC_SAMA5=y
-# CONFIG_SOC_SAM_V4_V5 is not set
-CONFIG_SOC_SAM_V7=y
-CONFIG_SOC_SAMA5D2=y
-CONFIG_SOC_SAMA5D3=y
-CONFIG_SOC_SAMA5D4=y
-CONFIG_MACH_SAMA5_DT=y
-CONFIG_PL310_ERRATA_588369=y
-CONFIG_PL310_ERRATA_727915=y
-CONFIG_PL310_ERRATA_753970=y
-CONFIG_PL310_ERRATA_769419=y
-# CONFIG_SWP_EMULATE is not set
-# CONFIG_THUMB2_KERNEL is not set
+++ /dev/null
-BOARDNAME:=SAMA5D3 (Cortex-A5)
-CPU_TYPE:=cortex-a5
-
-DEFAULT_PACKAGES += kmod-usb2
-
-define Target/Description
- Build generic firmware for SAMA5D3 AT91 platforms
- using the ARMv7 instruction set.
-endef