kirkwood: make MPP arrays static const
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 26 Nov 2012 11:27:36 +0000 (11:27 +0000)
committerPrafulla Wadaskar <prafulla@marvell.com>
Tue, 8 Jan 2013 22:42:10 +0000 (04:12 +0530)
commit9d86f0c30bd7e6a7f7a93bc7f12b69ef48a4de19
tree2512a2db0eefaf0aa2279a05c2b7ca9e6ed25510
parent0a16ea593355d1a0fd415286089961f9c9ad1614
kirkwood: make MPP arrays static const

This saves stack and code memory for local copy, and
consumes initialized data memory. For 22 of the 29
kirkwood-based boards, this results in a global saving
of about 30 bytes. For 7 of them, it results in an
increase of 6 to 14 bytes.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
19 files changed:
arch/arm/cpu/arm926ejs/kirkwood/mpp.c
arch/arm/include/asm/arch-kirkwood/mpp.h
board/LaCie/net2big_v2/net2big_v2.c
board/LaCie/netspace_v2/netspace_v2.c
board/Marvell/dreamplug/dreamplug.c
board/Marvell/guruplug/guruplug.c
board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c
board/Marvell/openrd/openrd.c
board/Marvell/rd6281a/rd6281a.c
board/Marvell/sheevaplug/sheevaplug.c
board/Seagate/dockstar/dockstar.c
board/buffalo/lsxl/lsxl.c
board/cloudengines/pogo_e02/pogo_e02.c
board/d-link/dns325/dns325.c
board/iomega/iconnect/iconnect.c
board/karo/tk71/tk71.c
board/keymile/km_arm/km_arm.c
board/raidsonic/ib62x0/ib62x0.c
drivers/spi/kirkwood_spi.c