[LEDE-DEV] [PATCH] mediatek: enable support for vfpv4 and neon

Christian Lamparter chunkeey at googlemail.com
Fri Nov 25 11:57:25 PST 2016


While researching for the armvirt target, I looked at the
existing arm platforms. It turns out that the mediatek target
with its sole MT7623N/A chip is sold as a "highly integrated
multimedia network router system-on-chip". To that end, it
lists support for the "NEON multimedia processing engine with
SIMDv2 / VFPv4 ISA support".

<http://topics.mediatek.com/en/products/connectivity/wifi/home-network/wifi-ap/mt7623na/>

So this patch enables the CPU_SUBTYPE to use this information.
This should have the nice side effect that LEDE's phase2 builders
no longer need to built a separate "cortex-a7" target, so this
should free up some resources.

Cc: John Crispin <john at phrozen.org>
Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
I don't have any MT7623, so I can't say if this works or not.
---
 target/linux/mediatek/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mediatek/Makefile b/target/linux/mediatek/Makefile
index 689ba31..e3eecd5 100644
--- a/target/linux/mediatek/Makefile
+++ b/target/linux/mediatek/Makefile
@@ -7,6 +7,7 @@ BOARD:=mediatek
 BOARDNAME:=MediaTek Ralink ARM
 FEATURES:=squashfs nand ubifs
 CPU_TYPE:=cortex-a7
+CPU_SUBTYPE:=neon-vfpv4
 MAINTAINER:=John Crispin <john at phrozen.org>
 
 KERNEL_PATCHVER:=4.4
-- 
2.10.2




More information about the Lede-dev mailing list