Browse Source

at91:renaming subtraget legacy to sam9x

renaming subtraget legacy to sam9x for adding new sam9 soc's

Signed-off-by: Sandeep Sheriker M <[email protected]>
Sandeep Sheriker M 6 years ago
parent
commit
a765a2178c

+ 2 - 2
package/boot/uboot-at91/Makefile

@@ -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

+ 3 - 2
target/linux/at91/Makefile

@@ -8,10 +8,11 @@ include $(TOPDIR)/rules.mk
 
 ARCH:=arm
 BOARD:=at91
-MAINTAINER:=Claudio Mignanti <[email protected]>
+MAINTAINER:=Claudio Mignanti <[email protected]> \
+   Sandeep Sheriker <[email protected]>
 BOARDNAME:=Microchip (Atmel AT91)
 FEATURES:=ext4 squashfs targz usb usbgadget ubifs
-SUBTARGETS:=sama5 legacy
+SUBTARGETS:=sama5 sam9x
 
 KERNEL_PATCHVER:=4.14
 

+ 2 - 2
target/linux/at91/image/Makefile

@@ -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

+ 0 - 1
target/linux/at91/image/legacy.mk → target/linux/at91/image/sam9x.mk

@@ -130,4 +130,3 @@ define Device/wb45n
   MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
 endef
 TARGET_DEVICES += wb45n
-

+ 0 - 7
target/linux/at91/legacy/target.mk

@@ -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

+ 0 - 0
target/linux/at91/legacy/config-default → target/linux/at91/sam9x/config-default


+ 7 - 0
target/linux/at91/sam9x/target.mk

@@ -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