BOARDNAME:=Freescale MPC85xx
CPU_TYPE:=8540
FEATURES:=squashfs ramdisk
-SUBTARGETS:=generic p1020 p2020
+SUBTARGETS:=p1010 p1020 p2020
KERNEL_PATCHVER:=5.4
+++ /dev/null
-# CONFIG_FSL_CORENET_CF is not set
-CONFIG_MTD_NAND_FSL_IFC=y
-CONFIG_MTD_SPLIT_FIRMWARE=y
-CONFIG_MTD_SPLIT_TPLINK_FW=y
-CONFIG_MTD_UBI=y
-CONFIG_MTD_UBI_BEB_LIMIT=20
-CONFIG_MTD_UBI_BLOCK=y
-# CONFIG_MTD_UBI_FASTMAP is not set
-# CONFIG_MTD_UBI_GLUEBI is not set
-CONFIG_MTD_UBI_WL_THRESHOLD=4096
-CONFIG_REALTEK_PHY=y
-CONFIG_RED_15W_REV1=y
-CONFIG_TL_WDR4900_V1=y
-CONFIG_UBIFS_FS=y
-CONFIG_UBIFS_FS_ADVANCED_COMPR=y
-CONFIG_UBIFS_FS_LZO=y
-CONFIG_UBIFS_FS_ZLIB=y
-CONFIG_UBIFS_FS_ZSTD=y
+++ /dev/null
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Default
- NAME:=Default Profile
- PRIORITY:=1
-endef
-
-define Profile/Default/Description
- Default package set compatible with most MPC85xx boards.
-endef
-
-$(eval $(call Profile,Default))
+++ /dev/null
-BOARDNAME:=Generic
-FEATURES+=nand
-KERNELNAME:=simpleImage.tl-wdr4900-v1
-
-define Target/Description
- Build firmware images for generic MPC85xx based boards.
-endef
-
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
endef
-ifeq ($(SUBTARGET),generic)
+ifeq ($(SUBTARGET),p1010)
define Device/tplink_tl-wdr4900-v1
DEVICE_VENDOR := TP-Link
--- /dev/null
+# CONFIG_FSL_CORENET_CF is not set
+CONFIG_MTD_NAND_FSL_IFC=y
+CONFIG_MTD_SPLIT_FIRMWARE=y
+CONFIG_MTD_SPLIT_TPLINK_FW=y
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_BEB_LIMIT=20
+CONFIG_MTD_UBI_BLOCK=y
+# CONFIG_MTD_UBI_FASTMAP is not set
+# CONFIG_MTD_UBI_GLUEBI is not set
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_REALTEK_PHY=y
+CONFIG_RED_15W_REV1=y
+CONFIG_TL_WDR4900_V1=y
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+CONFIG_UBIFS_FS_ZSTD=y
--- /dev/null
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Default
+ NAME:=Default Profile
+ PRIORITY:=1
+endef
+
+define Profile/Default/Description
+ Default package set compatible with most P1010 boards.
+endef
+
+$(eval $(call Profile,Default))
--- /dev/null
+BOARDNAME:=P1010
+FEATURES+=nand
+KERNELNAME:=simpleImage.tl-wdr4900-v1
+
+define Target/Description
+ Build firmware images for P1010 based boards.
+endef
+