diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2016-08-15 19:16:02 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-08-15 15:32:36 +0200 |
commit | 12cdf2bfc211f139c04aa4242ce1f8ffea6344d2 (patch) | |
tree | 7615f94552155b05f770505fe51f7710e72a476c | |
parent | 1ba88eabd56b57e8185e9f43b27ff693a534c8ef (diff) | |
download | openwrt-12cdf2bfc211f139c04aa4242ce1f8ffea6344d2.tar.gz openwrt-12cdf2bfc211f139c04aa4242ce1f8ffea6344d2.tar.bz2 openwrt-12cdf2bfc211f139c04aa4242ce1f8ffea6344d2.zip |
malta: enable be64 and le64 subtargets
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r-- | target/linux/malta/Makefile | 2 | ||||
-rw-r--r-- | target/linux/malta/be64/config-default | 7 | ||||
-rw-r--r-- | target/linux/malta/be64/target.mk | 1 | ||||
-rw-r--r-- | target/linux/malta/config-4.4 | 1 | ||||
-rw-r--r-- | target/linux/malta/le64/config-default | 7 | ||||
-rw-r--r-- | target/linux/malta/le64/target.mk | 1 |
6 files changed, 18 insertions, 1 deletions
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index a8663d89a4..50359c15dd 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 b424c3ed3b..374e29a562 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 96c0b50916..7c3a166b9a 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 c20073b268..6786ba71f1 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 8b5731e65a..725c3e4900 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 badea1945d..32aaea294a 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 |