From 12cdf2bfc211f139c04aa4242ce1f8ffea6344d2 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 15 Aug 2016 19:16:02 +0800 Subject: [PATCH] malta: enable be64 and le64 subtargets Signed-off-by: Yousong Zhou --- target/linux/malta/Makefile | 2 +- target/linux/malta/be64/config-default | 7 +++++++ target/linux/malta/be64/target.mk | 1 + target/linux/malta/config-4.4 | 1 + target/linux/malta/le64/config-default | 7 +++++++ target/linux/malta/le64/target.mk | 1 + 6 files changed, 18 insertions(+), 1 deletion(-) 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 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