summaryrefslogtreecommitdiff
path: root/target/linux/malta
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2016-08-15 19:16:02 +0800
committerJohn Crispin <john@phrozen.org>2016-08-15 15:32:36 +0200
commit12cdf2bfc211f139c04aa4242ce1f8ffea6344d2 (patch)
tree7615f94552155b05f770505fe51f7710e72a476c /target/linux/malta
parent1ba88eabd56b57e8185e9f43b27ff693a534c8ef (diff)
downloadmtk-20170518-12cdf2bfc211f139c04aa4242ce1f8ffea6344d2.zip
mtk-20170518-12cdf2bfc211f139c04aa4242ce1f8ffea6344d2.tar.gz
mtk-20170518-12cdf2bfc211f139c04aa4242ce1f8ffea6344d2.tar.bz2
malta: enable be64 and le64 subtargets
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux/malta')
-rw-r--r--target/linux/malta/Makefile2
-rw-r--r--target/linux/malta/be64/config-default7
-rw-r--r--target/linux/malta/be64/target.mk1
-rw-r--r--target/linux/malta/config-4.41
-rw-r--r--target/linux/malta/le64/config-default7
-rw-r--r--target/linux/malta/le64/target.mk1
6 files changed, 18 insertions, 1 deletions
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index a8663d8..50359c1 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -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>
diff --git a/target/linux/malta/be64/config-default b/target/linux/malta/be64/config-default
index b424c3e..374e29a 100644
--- a/target/linux/malta/be64/config-default
+++ b/target/linux/malta/be64/config-default
@@ -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
diff --git a/target/linux/malta/be64/target.mk b/target/linux/malta/be64/target.mk
index 96c0b50..7c3a166 100644
--- a/target/linux/malta/be64/target.mk
+++ b/target/linux/malta/be64/target.mk
@@ -1,4 +1,5 @@
ARCH:=mips64
+CPU_TYPE:=mips64
SUBTARGET:=be64
BOARDNAME:=Big Endian (64-bits)
FEATURES:=ramdisk
diff --git a/target/linux/malta/config-4.4 b/target/linux/malta/config-4.4
index c20073b..6786ba7 100644
--- a/target/linux/malta/config-4.4
+++ b/target/linux/malta/config-4.4
@@ -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
diff --git a/target/linux/malta/le64/config-default b/target/linux/malta/le64/config-default
index 8b5731e..725c3e4 100644
--- a/target/linux/malta/le64/config-default
+++ b/target/linux/malta/le64/config-default
@@ -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
diff --git a/target/linux/malta/le64/target.mk b/target/linux/malta/le64/target.mk
index badea19..32aaea2 100644
--- a/target/linux/malta/le64/target.mk
+++ b/target/linux/malta/le64/target.mk
@@ -1,4 +1,5 @@
ARCH:=mips64el
+CPU_TYPE:=mips64
SUBTARGET:=le64
BOARDNAME:=Little Endian (64-bits)
FEATURES:=ramdisk