malta: enable be64 and le64 subtargets
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 15 Aug 2016 11:16:02 +0000 (19:16 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 15 Aug 2016 13:32:36 +0000 (15:32 +0200)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
target/linux/malta/Makefile
target/linux/malta/be64/config-default
target/linux/malta/be64/target.mk
target/linux/malta/config-4.4
target/linux/malta/le64/config-default
target/linux/malta/le64/target.mk

index a8663d8..50359c1 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 BOARD:=malta
 BOARDNAME:=MIPS Malta CoreLV board (qemu)
 CPU_TYPE:=24kc
-SUBTARGETS:=le be #le64 be64
+SUBTARGETS:=le be le64 be64
 INITRAMFS_EXTRA_FILES:=
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
index b424c3e..374e29a 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_BLOCK_COMPAT=y
 CONFIG_COMPAT=y
 CONFIG_COMPAT_NETLINK_MESSAGES=y
 CONFIG_CPU_BIG_ENDIAN=y
+# CONFIG_LIQUIDIO is not set
 # CONFIG_CPU_LITTLE_ENDIAN is not set
 # CONFIG_CPU_MIPS32_R1 is not set
 # CONFIG_CPU_MIPS32_R2 is not set
@@ -25,6 +26,12 @@ CONFIG_MIPS32_COMPAT=y
 CONFIG_MIPS32_N32=y
 CONFIG_MIPS32_O32=y
 CONFIG_MODULES_USE_ELF_RELA=y
+CONFIG_PCI_BUS_ADDR_T_64BIT=y
+CONFIG_PGTABLE_LEVELS=3
 CONFIG_PHYS_ADDR_T_64BIT=y
 CONFIG_SYSVIPC_COMPAT=y
 CONFIG_SYS_SUPPORTS_HUGETLBFS=y
+# CONFIG_THUNDER_NIC_BGX is not set
+# CONFIG_THUNDER_NIC_PF is not set
+# CONFIG_THUNDER_NIC_VF is not set
+CONFIG_ZONE_DMA32=y
index 96c0b50..7c3a166 100644 (file)
@@ -1,4 +1,5 @@
 ARCH:=mips64
+CPU_TYPE:=mips64
 SUBTARGET:=be64
 BOARDNAME:=Big Endian (64-bits)
 FEATURES:=ramdisk
index c20073b..6786ba7 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
 CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
 CONFIG_ARCH_SUPPORTS_UPROBES=y
 CONFIG_ARCH_USE_BUILTIN_BSWAP=y
+CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 CONFIG_ATA=y
 CONFIG_ATA_PIIX=y
index 8b5731e..725c3e4 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_BLOCK_COMPAT=y
 CONFIG_COMPAT=y
 CONFIG_COMPAT_NETLINK_MESSAGES=y
 # CONFIG_CPU_BIG_ENDIAN is not set
+# CONFIG_LIQUIDIO is not set
 CONFIG_CPU_LITTLE_ENDIAN=y
 # CONFIG_CPU_MIPS32_R1 is not set
 # CONFIG_CPU_MIPS32_R2 is not set
@@ -25,6 +26,12 @@ CONFIG_MIPS32_COMPAT=y
 CONFIG_MIPS32_N32=y
 CONFIG_MIPS32_O32=y
 CONFIG_MODULES_USE_ELF_RELA=y
+CONFIG_PCI_BUS_ADDR_T_64BIT=y
+CONFIG_PGTABLE_LEVELS=3
 CONFIG_PHYS_ADDR_T_64BIT=y
 CONFIG_SYSVIPC_COMPAT=y
 CONFIG_SYS_SUPPORTS_HUGETLBFS=y
+# CONFIG_THUNDER_NIC_BGX is not set
+# CONFIG_THUNDER_NIC_PF is not set
+# CONFIG_THUNDER_NIC_VF is not set
+CONFIG_ZONE_DMA32=y
index badea19..32aaea2 100644 (file)
@@ -1,4 +1,5 @@
 ARCH:=mips64el
+CPU_TYPE:=mips64
 SUBTARGET:=le64
 BOARDNAME:=Little Endian (64-bits)
 FEATURES:=ramdisk