]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
at91:renaming subtraget legacy to sam9x
authorSandeep Sheriker M <sandeep.sheriker@microchip.com>
Tue, 28 May 2019 17:21:10 +0000 (10:21 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 30 May 2019 10:12:57 +0000 (12:12 +0200)
renaming subtraget legacy to sam9x for adding new sam9 soc's

Signed-off-by: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
package/boot/uboot-at91/Makefile
target/linux/at91/Makefile
target/linux/at91/image/Makefile
target/linux/at91/image/sam9x.mk [moved from target/linux/at91/image/legacy.mk with 99% similarity]
target/linux/at91/legacy/target.mk [deleted file]
target/linux/at91/sam9x/config-default [moved from target/linux/at91/legacy/config-default with 100% similarity]
target/linux/at91/sam9x/target.mk [new file with mode: 0644]

index 23bd2d2b01280b59e90d2eb6b3df7ddd67814ccd..a3262b5cd4fe604e20ec3e2c3df81a9c0c1fa063 100644 (file)
@@ -26,13 +26,13 @@ endef
 
 define U-Boot/at91sam9m10g45ek_nandflash
   NAME:=AT91SAM9M10G45-EK board (NandFlash)
-  BUILD_SUBTARGET:=legacy
+  BUILD_SUBTARGET:=sam9x
   BUILD_DEVICES:=at91sam9m10g45ek
 endef
 
 define U-Boot/at91sam9x5ek_nandflash
   NAME:=AT91SAM9X5-EK board (NandFlash)
-  BUILD_SUBTARGET:=legacy
+  BUILD_SUBTARGET:=sam9x
   BUILD_DEVICES:=at91sam9g15ek at91sam9g25ek \
                  at91sam9g35ek at91sam9x25ek \
                                 at91sam9x35ek
index 4dc70ebac14b8a653360e3f52983507a51fc9b13..6c1ba11c55109f416885b958dc9e2975627c8c37 100644 (file)
@@ -8,10 +8,11 @@ include $(TOPDIR)/rules.mk
 
 ARCH:=arm
 BOARD:=at91
-MAINTAINER:=Claudio Mignanti <c.mignanti@gmail.com>
+MAINTAINER:=Claudio Mignanti <c.mignanti@gmail.com> \
+   Sandeep Sheriker <sandeep.sheriker@gmail.com>
 BOARDNAME:=Microchip (Atmel AT91)
 FEATURES:=ext4 squashfs targz usb usbgadget ubifs
-SUBTARGETS:=sama5 legacy
+SUBTARGETS:=sama5 sam9x
 
 KERNEL_PATCHVER:=4.14
 
index f4d942b68220197f8a0444f9cfa2b3cc8ef20aa5..e4c17e3a3c9970af6a4c310505885a93c4d4235b 100644 (file)
@@ -13,8 +13,8 @@ define Build/at91-install-zImage
     $(CP) $(KDIR)/zImage $@
 endef
 
-ifeq ($(SUBTARGET),legacy)
-include ./legacy.mk
+ifeq ($(SUBTARGET),sam9x)
+include ./sam9x.mk
 endif
 ifeq ($(SUBTARGET),sama5)
 include ./sama5.mk
similarity index 99%
rename from target/linux/at91/image/legacy.mk
rename to target/linux/at91/image/sam9x.mk
index ae3c163d94ae6acf43726a558a06016491186667..3aada4c72bad90e621550aafef2c5a9328ca46a9 100644 (file)
@@ -130,4 +130,3 @@ define Device/wb45n
   MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
 endef
 TARGET_DEVICES += wb45n
-
diff --git a/target/linux/at91/legacy/target.mk b/target/linux/at91/legacy/target.mk
deleted file mode 100644 (file)
index a3d99bb..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-BOARDNAME:=Legacy (ARMv5)
-CPU_TYPE:=arm926ej-s
-
-define Target/Description
-       Build generic firmware for legacy Atmel AT91 platforms
-       using the ARMv5 instruction set.
-endef
diff --git a/target/linux/at91/sam9x/target.mk b/target/linux/at91/sam9x/target.mk
new file mode 100644 (file)
index 0000000..f6da7c0
--- /dev/null
@@ -0,0 +1,7 @@
+BOARDNAME:= SAM9X Boards (ARMv5)
+CPU_TYPE:=arm926ej-s
+
+define Target/Description
+       Build generic firmware for Microchip AT91 SAM9x platforms
+       using the ARMv5 instruction set.
+endef