fire: mediatek: Introduce create_pl_dev for updating preloader
Most OEMs who use MediaTek tend to ship preloader images without a header, therefore to allow preloader updates, it's necessary to create DM devices that allow writing to the physical preloader partition without the header.
From this, it's evident that our CPU (Mediatek Helio G70/MT6768) supports all the features of ARMv8.2-DotProd 1. Moreover AOSP sets this arch variant in their generic cortex-a55 ART target as well 2. This should unlock some optimizations in different code paths.
fire: mediatek: Introduce create_pl_dev for updating preloader
Most OEMs who use MediaTek tend to ship preloader images without a header, therefore to allow preloader updates, it's necessary to create DM devices that allow writing to the physical preloader partition without the header.
Change-Id: I6c3168ecabca4d4e56893d2a1bfea6a256577bd0
fire: Build
create_pl_dev
create_pl_dev is an OSS replacement for mtk_plpath_utils.
Change-Id: I0c484acaf582d2e802116c4927d98e98e2e7a179
fire: cleanup mtk_plpath_utils remnants
fire: Set arch variant to armv8-2a-dotprod
fire:/ $ cat /proc/cpuinfo | grep Features -m 1 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
From this, it's evident that our CPU (Mediatek Helio G70/MT6768) supports all the features of ARMv8.2-DotProd 1. Moreover AOSP sets this arch variant in their generic cortex-a55 ART target as well 2. This should unlock some optimizations in different code paths.
Change-Id: I82e9d15724aa7d5d0eb761a8f0ca47362f883a5c
other mt6768 device does this just fine