Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups from Olof Johansson: "The cleanup branch keeps going down in size as we've completed a lot of the major legacy platform removals and conversions. A handful of changes this time around, some of the themes or larger sets are: - A bunch of i.MX cleanups around platform detection, init call cleanups - Misc fixes of missing/implicit includes - Removal of ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB" * tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (40 commits) ARM: mps2: fix typo ARM: s3c64xx: avoid warning about 'struct device_node' bus: mvebu-mbus: make mvebu_mbus_syscore_ops static bus: mvebu-mbus: fix __iomem on register pointers ARM: tegra: Remove board_init_funcs array ARM: iop: Fix indentation ARM: imx: remove cpu_is_mx*() ARM: imx: remove last call to cpu_is_mx5* ARM: imx: rework mx27_pm_init() call ARM: imx: deconstruct mx3_idle ARM: imx: deconstruct mxc_rnga initialization ARM: imx: remove cpu_is_mx1 check ARM: i.MX: Do not explicitly call l2x0_of_init() ARM: i.MX: system.c: Tweak prefetch settings for performance ARM: i.MX: system.c: Replace magic numbers ARM: i.MX: system.c: Remove redundant errata 752271 code ARM: i.MX: system.c: Convert goto to if statement ARM: Kirkwood: fix kirkwood_pm_init() declaration/type ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static ARM: orion5x: make orion5x_legacy_handle_irq static ...
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
menuconfig ARCH_VEXPRESS
|
||||
bool "ARM Ltd. Versatile Express family"
|
||||
depends on ARCH_MULTI_V7
|
||||
select ARCH_REQUIRE_GPIOLIB
|
||||
select ARCH_SUPPORTS_BIG_ENDIAN
|
||||
select ARM_AMBA
|
||||
select ARM_GIC
|
||||
select ARM_GLOBAL_TIMER
|
||||
select ARM_TIMER_SP804
|
||||
select COMMON_CLK_VERSATILE
|
||||
select GPIOLIB
|
||||
select HAVE_ARM_SCU if SMP
|
||||
select HAVE_ARM_TWD if SMP
|
||||
select HAVE_PATA_PLATFORM
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include <asm/smp_plat.h>
|
||||
#include <asm/cp15.h>
|
||||
|
||||
#include "core.h"
|
||||
|
||||
static inline void cpu_enter_lowpower(void)
|
||||
{
|
||||
unsigned int v;
|
||||
|
@@ -31,6 +31,8 @@
|
||||
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
#include "spc.h"
|
||||
|
||||
#define SPCLOG "vexpress-spc: "
|
||||
|
||||
#define PERF_LVL_A15 0x00
|
||||
@@ -319,17 +321,15 @@ static int ve_spc_waitforcompletion(int req_type)
|
||||
|
||||
static int ve_spc_set_performance(int cluster, u32 freq)
|
||||
{
|
||||
u32 perf_cfg_reg, perf_stat_reg;
|
||||
u32 perf_cfg_reg;
|
||||
int ret, perf, req_type;
|
||||
|
||||
if (cluster_is_a15(cluster)) {
|
||||
req_type = CA15_DVFS;
|
||||
perf_cfg_reg = PERF_LVL_A15;
|
||||
perf_stat_reg = PERF_REQ_A15;
|
||||
} else {
|
||||
req_type = CA7_DVFS;
|
||||
perf_cfg_reg = PERF_LVL_A7;
|
||||
perf_stat_reg = PERF_REQ_A7;
|
||||
}
|
||||
|
||||
perf = ve_spc_find_performance_index(cluster, freq);
|
||||
|
Reference in New Issue
Block a user