u-boot/arch/arm/cpu/armv7/omap4
Aneesh V 1e463866f5 omap4: automatic sdram detection
Identify SDRAM devices connected to EMIF automatically:
LPDDR2 devices have some Mode Registers that provide details
about the device such as the type, density, bus width
etc. EMIF has the capability to read these registers. If there
are no devices connected to a given chip-select reading mode
registers will return junk values. After reading as many such
registers as possible and matching with expected ranges of
values the driver can identify if there is a device connected
to the respective CS. If we identify that a device is connected
the values read give us complete details about the device.

This along with the base AC timings specified by JESD209-2
allows us to do a complete automatic initialization of
SDRAM that works on all boards.

Please note that the default AC timings specified by JESD209-2
will be safe for all devices but not necessarily optimal. However,
for the Elpida devices used on Panda and SDP the default timings
are both safe and optimal.

Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2011-08-03 12:49:19 +02:00
..
board.c omap4: calculate EMIF register values 2011-08-03 12:49:19 +02:00
clocks.c omap4: add clock support 2011-08-03 12:49:19 +02:00
emif.c omap4: automatic sdram detection 2011-08-03 12:49:19 +02:00
lowlevel_init.S armv7: adapt omap4 to the new cache maintenance framework 2011-07-04 10:55:25 +02:00
Makefile omap4: add sdram init support 2011-08-03 12:49:19 +02:00
mem.c ARMV7: Add basic gpmc initialization for OMAP4 2010-07-15 16:19:16 -04:00
omap4_mux_data.h omap4: cleanup pin mux data 2011-08-03 12:49:19 +02:00
sdram_elpida.c omap4: calculate EMIF register values 2011-08-03 12:49:19 +02:00
sys_info.c Prepare v2010.09-rc1 2010-09-10 00:16:19 +02:00