From: Šimon Bořek Date: Wed, 15 Jun 2022 15:31:39 +0000 (+0200) Subject: mpc85xx: add support for cpu type 8548 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5292637feb42bf97fcc3eaa0c9312e804e256fca;p=openwrt%2Fstaging%2Fblocktrron.git mpc85xx: add support for cpu type 8548 8540 cpu type corresponds to e500v1 core while 8548 cpu type corresponds to e500v2 core See https://www.nxp.com/products/processors-and-microcontrollers/legacy-mpu-mcus/powerquicc-processors:POWERQUICC_HOME#powerquicc-iii-mpc85xx and https://www.nxp.com/docs/en/application-note/AN2807.pdf . Co-authored-by: Josef Schlehofer Co-authored-by: Pali Rohár Signed-off-by: Šimon Bořek --- diff --git a/include/target.mk b/include/target.mk index 708ba395c6..a62b1eb052 100644 --- a/include/target.mk +++ b/include/target.mk @@ -235,6 +235,7 @@ ifeq ($(DUMP),1) ifeq ($(ARCH),powerpc) CPU_CFLAGS_603e:=-mcpu=603e CPU_CFLAGS_8540:=-mcpu=8540 + CPU_CFLAGS_8548:=-mcpu=8548 CPU_CFLAGS_405:=-mcpu=405 CPU_CFLAGS_440:=-mcpu=440 CPU_CFLAGS_464fp:=-mcpu=464fp