Orion: revamp cpu mbus window handling
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 27 Mar 2008 18:51:40 +0000 (14:51 -0400)
committerNicolas Pitre <nico@marvell.com>
Thu, 27 Mar 2008 18:51:40 +0000 (14:51 -0400)
commit98f79d1ea0459b907f95846bad5e967a06b7a0d5
tree2a9148e04a36f7cfdf1be90874b7b5eb84e7cf6e
parent5d4294c524fc53746b5ec138d2e90f9d34d754b0
Orion: revamp cpu mbus window handling

Instead of forcing all device bus window setup through one function
with some enum as the first argument, create separate window setup
functions for each of the four possible targets, and do the demux
internally.  This allows getting rid of the window identifier enum
and the big switch statement in orion_setup_cpu_win().

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion/addr-map.c
arch/arm/mach-orion/common.c
arch/arm/mach-orion/common.h
arch/arm/mach-orion/db88f5281-setup.c
arch/arm/mach-orion/dns323-setup.c
arch/arm/mach-orion/kurobox_pro-setup.c
arch/arm/mach-orion/rd88f5182-setup.c
arch/arm/mach-orion/ts209-setup.c