--- zzzz-none-000/linux-4.19.183/arch/arm/Makefile 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/arch/arm/Makefile 2023-06-28 08:54:18.000000000 +0000 @@ -35,6 +35,9 @@ KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access) endif +# AVM: keine unaligned Zugriffe machen +KBUILD_CFLAGS += -fstrict-volatile-bitfields + ifeq ($(CONFIG_FRAME_POINTER),y) KBUILD_CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog endif @@ -142,6 +145,7 @@ textofs-y := 0x00008000 # We don't want the htc bootloader to corrupt kernel during resume textofs-$(CONFIG_PM_H1940) := 0x00108000 + # SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory ifeq ($(CONFIG_ARCH_SA1100),y) textofs-$(CONFIG_SA1111) := 0x00208000 @@ -159,6 +163,9 @@ machine-$(CONFIG_ARCH_AT91) += at91 machine-$(CONFIG_ARCH_AXXIA) += axxia machine-$(CONFIG_ARCH_BCM) += bcm +#ifdef BCM_KF # defined(CONFIG_BCM_KF_MISC_MAKEFILE) +machine-$(CONFIG_ARCH_BCM63XX) := bcm963xx +#endif # BCM_KF machine-$(CONFIG_ARCH_BERLIN) += berlin machine-$(CONFIG_ARCH_CLPS711X) += clps711x machine-$(CONFIG_ARCH_CNS3XXX) += cns3xxx @@ -229,6 +236,12 @@ # Platform directory name. This list is sorted alphanumerically # by CONFIG_* macro name. +#ifdef BCM_KF # defined(CONFIG_BCM_KF_MISC_MAKEFILE) +plat-$(CONFIG_ARCH_BCM63XX) := bcm63xx +ifdef CONFIG_BCM96878 +plat-y := bcm63xx +endif +#endif # BCM_KF plat-$(CONFIG_ARCH_EXYNOS) += samsung plat-$(CONFIG_ARCH_OMAP) += omap plat-$(CONFIG_ARCH_S3C64XX) += samsung @@ -293,6 +306,7 @@ core-y += arch/arm/net/ core-y += arch/arm/crypto/ core-y += arch/arm/firmware/ +core-y += arch/arm/avm_enh/ core-y += $(machdirs) $(platdirs) drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/