diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-28 10:43:12 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-05-29 19:50:25 -0400 |
commit | b28dd4ac66de15c48b00184b63180094f2f7fb45 (patch) | |
tree | 0698f337d28abc86a2e453f70b8b4e32efd3db2f | |
parent | 060bf2af12e3a5cf6af95336f9aa66e2af6ffa43 (diff) |
ARM: l2c: vexpress: convert to generic l2c OF initialisation
Remove the explicit call to l2x0_of_init(), converting to the generic
infrastructure instead.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 4f8b8cb17ff5..b2fea70d412d 100644 --- a/arch/arm/mach-vexpress/v2m.c +++ b/arch/arm/mach-vexpress/v2m.c | |||
@@ -432,7 +432,6 @@ static const struct of_device_id v2m_dt_bus_match[] __initconst = { | |||
432 | 432 | ||
433 | static void __init v2m_dt_init(void) | 433 | static void __init v2m_dt_init(void) |
434 | { | 434 | { |
435 | l2x0_of_init(0x00400000, 0xfe0fffff); | ||
436 | of_platform_populate(NULL, v2m_dt_bus_match, NULL, NULL); | 435 | of_platform_populate(NULL, v2m_dt_bus_match, NULL, NULL); |
437 | } | 436 | } |
438 | 437 | ||
@@ -443,6 +442,8 @@ static const char * const v2m_dt_match[] __initconst = { | |||
443 | 442 | ||
444 | DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") | 443 | DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") |
445 | .dt_compat = v2m_dt_match, | 444 | .dt_compat = v2m_dt_match, |
445 | .l2c_aux_val = 0x00400000, | ||
446 | .l2c_aux_mask = 0xfe0fffff, | ||
446 | .smp = smp_ops(vexpress_smp_ops), | 447 | .smp = smp_ops(vexpress_smp_ops), |
447 | .smp_init = smp_init_ops(vexpress_smp_init_ops), | 448 | .smp_init = smp_init_ops(vexpress_smp_init_ops), |
448 | .map_io = v2m_dt_map_io, | 449 | .map_io = v2m_dt_map_io, |