ifeq ($(SUBTARGET),cortexa53)
-define Device/globalscale-espressobin
- KERNEL_NAME := Image
- KERNEL := kernel-bin
+define Device/globalscale_espressobin
+ $(call Device/Default-arm64)
DEVICE_TITLE := ESPRESSObin (Marvell Armada 3700 Community Board)
- DEVICE_PACKAGES := e2fsprogs ethtool mkf2fs kmod-fs-vfat kmod-usb2 kmod-usb3 kmod-usb-storage
- IMAGES := sdcard.img.gz
- IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
DEVICE_DTS := armada-3720-espressobin
- DTS_DIR := $(DTS_DIR)/marvell
- SUPPORTED_DEVICES := globalscale,espressobin
endef
-TARGET_DEVICES += globalscale-espressobin
+TARGET_DEVICES += globalscale_espressobin
+
+define Device/globalscale_espressobin-emmc
+ $(call Device/Default-arm64)
+ DEVICE_TITLE := ESPRESSObin eMMC (Marvell Armada 3700 Community Board)
+ DEVICE_DTS := armada-3720-espressobin-emmc
+endef
+TARGET_DEVICES += globalscale_espressobin-emmc
+
+define Device/globalscale_espressobin-v7
+ $(call Device/Default-arm64)
+ DEVICE_TITLE := ESPRESSObin V7 (Marvell Armada 3700 Community Board)
+ DEVICE_DTS := armada-3720-espressobin-v7
+endef
+TARGET_DEVICES += globalscale_espressobin-v7
+
+define Device/globalscale_espressobin-v7-emmc
+ $(call Device/Default-arm64)
+ DEVICE_TITLE := ESPRESSObin V7 eMMC (Marvell Armada 3700 Community Board)
+ DEVICE_DTS := armada-3720-espressobin-v7-emmc
+endef
+TARGET_DEVICES += globalscale_espressobin-v7-emmc
+
+define Device/marvell_armada-3720-db
+ $(call Device/Default-arm64)
+ DEVICE_TITLE := Marvell Armada 3720 Development Board DB-88F3720-DDR3
+ DEVICE_DTS := armada-3720-db
+endef
+TARGET_DEVICES += marvell_armada-3720-db
endif