diff options
author | Valentin Longchamp <valentin.longchamp@keymile.com> | 2012-06-01 01:30:59 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 12:07:31 (GMT) |
commit | 8f5d7a03986ac357f95c1131074e2abaa9e3fd22 (patch) | |
tree | 0d44d3061c0c71823c0b72b652307875982d633b /arch/arm/include/asm/arch-kirkwood | |
parent | a0fb94f9ed865ff8073b4d493918cb78411de2b1 (diff) | |
download | u-boot-fsl-qoriq-8f5d7a03986ac357f95c1131074e2abaa9e3fd22.tar.xz |
kirkwood: add save functionality kirkwood_mpp_conf function
If a second non NULL argument is given to the kirkwood_mpp_conf
function, it will be used to store the current configuration of the MPP
registers. mpp_save must be a preallocated table of the same size as
mpp_list and it must be zero terminated as well.
A later call to kirkwood_mpp_conf function with this saved list as first
(mpp_conf) argment will set the configuration back.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
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 b3c090e..8e50ee7 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(unsigned int *mpp_list); +void kirkwood_mpp_conf(u32 *mpp_list, u32 *mpp_save); #endif |