diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-11-26 11:27:36 (GMT) |
---|---|---|
committer | Prafulla Wadaskar <prafulla@marvell.com> | 2013-01-08 22:42:10 (GMT) |
commit | 9d86f0c30bd7e6a7f7a93bc7f12b69ef48a4de19 (patch) | |
tree | 2512a2db0eefaf0aa2279a05c2b7ca9e6ed25510 /arch/arm/include/asm/arch-kirkwood | |
parent | 0a16ea593355d1a0fd415286089961f9c9ad1614 (diff) | |
download | u-boot-fsl-qoriq-9d86f0c30bd7e6a7f7a93bc7f12b69ef48a4de19.tar.xz |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-kirkwood')
-rw-r--r-- | arch/arm/include/asm/arch-kirkwood/mpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-kirkwood/mpp.h b/arch/arm/include/asm/arch-kirkwood/mpp.h index 8ceea7b..48d1477 100644 --- a/arch/arm/include/asm/arch-kirkwood/mpp.h +++ b/arch/arm/include/asm/arch-kirkwood/mpp.h @@ -312,6 +312,6 @@ #define MPP_MAX 49 -void kirkwood_mpp_conf(u32 *mpp_list, u32 *mpp_save); +void kirkwood_mpp_conf(const u32 *mpp_list, u32 *mpp_save); #endif |