--- zzzz-none-000/linux-3.10.107/arch/arm/Kconfig 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/arm/Kconfig 2021-11-10 11:53:52.000000000 +0000 @@ -218,7 +218,7 @@ config ARM_PATCH_PHYS_VIRT bool "Patch physical to virtual translations at runtime" if EMBEDDED - default y + default n depends on !XIP_KERNEL && MMU depends on !ARCH_REALVIEW || !SPARSEMEM help @@ -256,8 +256,10 @@ config PHYS_OFFSET hex "Physical address of main memory" if MMU - depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H + #depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H + depends on !NEED_MACH_MEMORY_H default DRAM_BASE if !MMU + default "0x42000000" if ARCH_IPQ806X_DT help Please provide the physical address corresponding to the location of main memory in your system. @@ -291,8 +293,8 @@ config ARCH_MULTIPLATFORM bool "Allow multiple platforms to be selected" depends on MMU - select ARM_PATCH_PHYS_VIRT - select AUTO_ZRELADDR + select ARM_PATCH_PHYS_VIRT + #select AUTO_ZRELADDR select COMMON_CLK select MULTI_IRQ_HANDLER select SPARSE_IRQ @@ -621,11 +623,19 @@ Support for Intel/Marvell's PXA2xx/PXA3xx processor line. config ARCH_MSM - bool "Qualcomm MSM" + bool "Qualcomm MSM (non-multiplatform)" select ARCH_REQUIRE_GPIOLIB select CLKDEV_LOOKUP select GENERIC_CLOCKEVENTS - select HAVE_CLK + select HAVE_CLK + select ARCH_HAS_CPUFREQ + select GENERIC_GPIO + select GENERIC_TIME + select GENERIC_ALLOCATOR + select HAVE_SCHED_CLOCK + select HAVE_CLK_PREPARE + select NEED_MACH_MEMORY_H + select NEED_MACH_IO_H help Support for Qualcomm MSM/QSD based systems. This runs on the apps processor of the MSM/QSD and depends on a shared memory @@ -980,6 +990,8 @@ source "arch/arm/mach-mmp/Kconfig" +source "arch/arm/mach-qcom/Kconfig" + source "arch/arm/mach-realview/Kconfig" source "arch/arm/mach-sa1100/Kconfig" @@ -1598,7 +1610,7 @@ source kernel/Kconfig.preempt config HZ - int + int "Config Tick Kernel Freq" default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ ARCH_S5PV210 || ARCH_EXYNOS4 default AT91_TIMER_HZ if ARCH_AT91 @@ -1739,7 +1751,7 @@ range 11 64 if ARCH_SHMOBILE default "12" if SOC_AM33XX default "9" if SA1111 - default "11" + default "12" help The kernel memory allocator divides physically contiguous memory blocks into "zones", where each zone is a power of two number of @@ -1829,6 +1841,7 @@ select IRQ_DOMAIN select OF select OF_EARLY_FLATTREE + select OF_RESERVED_MEM help Include support for flattened device tree machine descriptions.