[openwrt/openwrt] mpc85xx: change CPU_TYPE from 8540 to 8548

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 29 07:51:11 PST 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2cad88b99fdae9766de84e6c1cb56f111eb53748

commit 2cad88b99fdae9766de84e6c1cb56f111eb53748
Author: Šimon Bořek <simon.borek at nic.cz>
AuthorDate: Wed Jun 15 17:38:38 2022 +0200

    mpc85xx: change CPU_TYPE from 8540 to 8548
    
    All subtargets as p1010, p1020, p2020 uses e500v2 cores [1] [2] [3] [4],
     so let's force cpu type to 8545 for all mpc85xx target even though
    there might exist device with e500v1, but there is no such router supported in OpenWrt
    and because of that it does not make sense to to set CPU_TYPE for each subtarget.
    
    All MPC85xx SoC can be found here:
    https://www.nxp.com/products/processors-and-microcontrollers/legacy-mpu-mcus/powerquicc-processors:POWERQUICC_HOME#powerquicc-iii-mpc85xx
    
    [1] https://www.nxp.com/docs/en/application-note/AN2807.pdf
    [2] https://www.nxp.com/docs/en/fact-sheet/QP1010FS.pdf
    [3] https://www.nxp.com/docs/en/product-brief/P1020PB.pdf
    [4] https://www.nxp.com/docs/en/fact-sheet/QP20XXFS.pdf
    
    Co-authored-by: Pali Rohár <pali at kernel.org>
    Signed-off-by: Šimon Bořek <simon.borek at nic.cz>
---
 target/linux/mpc85xx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile
index f5f5a9c5c1..552b981104 100644
--- a/target/linux/mpc85xx/Makefile
+++ b/target/linux/mpc85xx/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=powerpc
 BOARD:=mpc85xx
 BOARDNAME:=Freescale MPC85xx
-CPU_TYPE:=8540
+CPU_TYPE:=8548
 FEATURES:=squashfs ramdisk nand
 SUBTARGETS:=p1010 p1020 p2020
 




More information about the lede-commits mailing list