diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-01-25 01:48:03 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-04 09:24:40 -0500 |
commit | f0f899432e8e901844c3d98483d89d4612f13d98 (patch) | |
tree | 5ba53e540f5edf0b65b746782ac4f3c6fc171c06 /arch/powerpc/include/asm | |
parent | 5cfbc458d4957a186d1433cf1c14e8f4e6d4431f (diff) | |
download | u-boot-imx-f0f899432e8e901844c3d98483d89d4612f13d98.zip u-boot-imx-f0f899432e8e901844c3d98483d89d4612f13d98.tar.gz u-boot-imx-f0f899432e8e901844c3d98483d89d4612f13d98.tar.bz2 |
powerpc/85xx: Declare fsl_ddr_set_memctl_regs in <asm/fsl_ddr_sdram.h>
Remove declerations of fsl_ddr_set_memctl_regs in board files with and
place it into a common header.
Based on patch from Poonam Aggrwal.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/fsl_ddr_sdram.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_ddr_sdram.h b/arch/powerpc/include/asm/fsl_ddr_sdram.h index 02a1f5d..b5b1efe 100644 --- a/arch/powerpc/include/asm/fsl_ddr_sdram.h +++ b/arch/powerpc/include/asm/fsl_ddr_sdram.h @@ -271,6 +271,8 @@ typedef struct memctl_options_s { extern phys_size_t fsl_ddr_sdram(void); extern int fsl_use_spd(void); +extern void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs, + unsigned int ctrl_num); /* * The 85xx boards have a common prototype for fixed_sdram so put the |