diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-02-01 18:12:15 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2016-02-02 11:49:11 +0100 |
commit | 7e8702a00fe88590c2ece93061da4a40adf3c242 (patch) | |
tree | 95bfaa58662c2152fdf1e4fd10f1374be4cb2d7b /arch/arm/mach-at91/mpddrc.c | |
parent | 258b21fc69c93172d8e4afaeff3a7303740ce7c6 (diff) |
arm: at91/spl: mpddrc: add struct atmel_mpddrc_config
Add struct atmel_mpddrc_config to accommodate the mpddrc register
configurations, not using the mpddrc register map structure,
struct atmel_mpddrc, in order to increase readability and reduce
run-time memory use.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/mach-at91/mpddrc.c')
-rw-r--r-- | arch/arm/mach-at91/mpddrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/mpddrc.c b/arch/arm/mach-at91/mpddrc.c index 47e6e5a3cd..9ba2a00e92 100644 --- a/arch/arm/mach-at91/mpddrc.c +++ b/arch/arm/mach-at91/mpddrc.c @@ -30,7 +30,7 @@ static int ddr2_decodtype_is_seq(u32 cr) int ddr2_init(const unsigned int base, const unsigned int ram_address, - const struct atmel_mpddr *mpddr_value) + const struct atmel_mpddrc_config *mpddr_value) { const struct atmel_mpddr *mpddr = (struct atmel_mpddr *)base; |