[source] mediatek: enable support for vfpv4 and neon

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 20 01:35:24 PST 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/305704f405fbc347a17dd69c1354ec3da448ea15

commit 305704f405fbc347a17dd69c1354ec3da448ea15
Author: Christian Lamparter <chunkeey at googlemail.com>
AuthorDate: Fri Nov 25 20:57:25 2016 +0100

    mediatek: enable support for vfpv4 and neon
    
    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>
---
 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



More information about the lede-commits mailing list