diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2010-06-07 15:20:34 -0400 |
---|---|---|
committer | Tom <Tom@bumblecow.com> | 2010-06-08 10:07:18 -0500 |
commit | cae377b59a179e34d27cd6b79dee24d967de839c (patch) | |
tree | 320db8b314e8466368062f96f47f8fa0a26ec930 /arch/arm/include/asm/arch-omap3/mem.h | |
parent | d11212e3772c8fe43a1f487bbf58f3341118a241 (diff) | |
download | u-boot-imx-cae377b59a179e34d27cd6b79dee24d967de839c.zip u-boot-imx-cae377b59a179e34d27cd6b79dee24d967de839c.tar.gz u-boot-imx-cae377b59a179e34d27cd6b79dee24d967de839c.tar.bz2 |
omap3: Consolidate SDRC related operations
Consolidated SDRC related functions into one file - sdrc.c
And also replaced sdrc_init with generic memory init
function (mem_init), this generalization of omap memory setup
is necessary to support the new emif4 interface introduced in AM3517.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/mem.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/mem.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h index 9439758..a78cf9f 100644 --- a/arch/arm/include/asm/arch-omap3/mem.h +++ b/arch/arm/include/asm/arch-omap3/mem.h @@ -270,4 +270,17 @@ enum { #define PISMO1_ONEN_BASE ONENAND_MAP #define DBG_MPDB_BASE DEBUG_BASE +#ifndef __ASSEMBLY__ + +/* Function prototypes */ +void mem_init(void); + +u32 is_mem_sdr(void); +u32 mem_ok(u32 cs); + +u32 get_sdr_cs_size(u32); +u32 get_sdr_cs_offset(u32); + +#endif /* __ASSEMBLY__ */ + #endif /* endif _MEM_H_ */ |