Skip to content

Commit

Permalink
ARM: l2c: zynq: remove cache size override
Browse files Browse the repository at this point in the history
The cache size should already be present in the L2 cache auxiliary
control register: it is part of the integration process to configure
the hardware IP.  Most platforms get this right, yet still many
cargo-cult program, and assume that they always need specifying to
the L2 cache code.  Remove them so we can find out which really need
this.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed May 29, 2014
1 parent b28dd4a commit 2c4133c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-zynq/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void __init zynq_init_machine(void)
/*
* 64KB way size, 8-way associativity, parity disabled
*/
l2x0_of_init(0x02060000, 0xF0F0FFFF);
l2x0_of_init(0x02000000, 0xf0ffffff);

of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);

Expand Down

0 comments on commit 2c4133c

Please sign in to comment.