wok-undigest diff linux/stuff/arm/linux-arm.patch @ rev 1217
copied linux receipt and stuff from wok-next
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 16:49:43 2019 +0100 (2019-11-15) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux/stuff/arm/linux-arm.patch Fri Nov 15 16:49:43 2019 +0100 1.3 @@ -0,0 +1,72 @@ 1.4 +Make the "Arm Versatile" board even more versatile, for QEMU, which can 1.5 +stick weird processors into things that were never rmeant to receive them. 1.6 + 1.7 +diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig 1.8 +index 9cdec5a..59bf255 100644 1.9 +--- a/arch/arm/mach-versatile/Kconfig 1.10 ++++ b/arch/arm/mach-versatile/Kconfig 1.11 +@@ -3,7 +3,6 @@ menu "Versatile platform type" 1.12 + 1.13 + config ARCH_VERSATILE_PB 1.14 + bool "Support Versatile Platform Baseboard for ARM926EJ-S" 1.15 +- select CPU_ARM926T 1.16 + select MIGHT_HAVE_PCI 1.17 + default y 1.18 + help 1.19 +@@ -12,7 +11,6 @@ config ARCH_VERSATILE_PB 1.20 + 1.21 + config MACH_VERSATILE_AB 1.22 + bool "Support Versatile Application Baseboard for ARM926EJ-S" 1.23 +- select CPU_ARM926T 1.24 + help 1.25 + Include support for the ARM(R) Versatile Application Baseboard 1.26 + for the ARM926EJ-S. 1.27 +diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig 1.28 +index 0074b8d..608adb9 100644 1.29 +--- a/arch/arm/mm/Kconfig 1.30 ++++ b/arch/arm/mm/Kconfig 1.31 +@@ -107,7 +107,7 @@ config CPU_ARM9TDMI 1.32 + 1.33 + # ARM920T 1.34 + config CPU_ARM920T 1.35 +- bool "Support ARM920T processor" if ARCH_INTEGRATOR 1.36 ++ bool "Support ARM920T processor" if ARCH_INTEGRATOR || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB 1.37 + select CPU_32v4T 1.38 + select CPU_ABRT_EV4T 1.39 + select CPU_PABRT_LEGACY 1.40 +@@ -125,7 +125,7 @@ config CPU_ARM920T 1.41 + 1.42 + # ARM922T 1.43 + config CPU_ARM922T 1.44 +- bool "Support ARM922T processor" if ARCH_INTEGRATOR 1.45 ++ bool "Support ARM922T processor" if ARCH_INTEGRATOR || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB 1.46 + select CPU_32v4T 1.47 + select CPU_ABRT_EV4T 1.48 + select CPU_PABRT_LEGACY 1.49 +@@ -163,7 +163,7 @@ config CPU_ARM925T 1.50 + 1.51 + # ARM926T 1.52 + config CPU_ARM926T 1.53 +- bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB 1.54 ++ bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB 1.55 + select CPU_32v5 1.56 + select CPU_ABRT_EV5TJ 1.57 + select CPU_PABRT_LEGACY 1.58 +@@ -171,6 +171,7 @@ config CPU_ARM926T 1.59 + select CPU_CP15_MMU 1.60 + select CPU_COPY_V4WB if MMU 1.61 + select CPU_TLB_V4WBI if MMU 1.62 ++ depends on !CPU_V6 && !CPU_V7 1.63 + help 1.64 + This is a variant of the ARM920. It has slightly different 1.65 + instruction sequences for cache and TLB operations. Curiously, 1.66 +@@ -390,7 +391,8 @@ config CPU_PJ4 1.67 + 1.68 + # ARMv6 1.69 + config CPU_V6 1.70 +- bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX 1.71 ++ bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB 1.72 ++ 1.73 + select CPU_32v6 1.74 + select CPU_ABRT_EV6 1.75 + select CPU_PABRT_V6