[ARM] Kirkwood: support L2 writeback mode
authorSaeed Bishara <saeed@marvell.com>
Mon, 23 Jun 2008 12:05:08 +0000 (01:05 -1100)
committerNicolas Pitre <nico@cam.org>
Mon, 30 Jun 2008 18:25:24 +0000 (14:25 -0400)
commit1338760329c586e0141831099e15f5c336dd9c1d
treecf7b223ee87d0686118ac8b6a3214656aa69279a
parenta10b188f195d00116f56f0049d8b17c711641fb7
[ARM] Kirkwood: support L2 writeback mode

This patch allows booting Kirkwood with the L2 in writeback mode,
by reading the WT override bit from the L2 config register and
passing that into the Feroceon L2 init routine, instead of assuming
that the WT override bit will always be set

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
arch/arm/mach-kirkwood/common.c
include/asm-arm/arch-kirkwood/kirkwood.h