Skip to content

Commit

Permalink
ARM: l2c: vexpress: convert to generic l2c OF initialisation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed May 29, 2014
1 parent 060bf2a commit b28dd4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-vexpress/v2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ static const struct of_device_id v2m_dt_bus_match[] __initconst = {

static void __init v2m_dt_init(void)
{
l2x0_of_init(0x00400000, 0xfe0fffff);
of_platform_populate(NULL, v2m_dt_bus_match, NULL, NULL);
}

Expand All @@ -443,6 +442,8 @@ static const char * const v2m_dt_match[] __initconst = {

DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express")
.dt_compat = v2m_dt_match,
.l2c_aux_val = 0x00400000,
.l2c_aux_mask = 0xfe0fffff,
.smp = smp_ops(vexpress_smp_ops),
.smp_init = smp_init_ops(vexpress_smp_init_ops),
.map_io = v2m_dt_map_io,
Expand Down

0 comments on commit b28dd4a

Please sign in to comment.