]> git.sur5r.net Git - u-boot/commit
M28: Add memory detection into SPL
authorMarek Vasut <marek.vasut@gmail.com>
Tue, 8 Nov 2011 23:18:24 +0000 (23:18 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 11 Nov 2011 10:36:58 +0000 (11:36 +0100)
commit3a4ce8335b89af37647d26f44d6eb476ce995fbb
tree6e6196b27e8b0e39a913a1d0e1be10104437c116
parent22fe68fbdc6baf4d55782fd9803e6133c49b533d
M28: Add memory detection into SPL

This code allows the DDR DRAM size to be detected at runtime. The RAM size is
stored into two scratch registers, from which it is then fetched in U-Boot.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
board/denx/m28evk/Makefile
board/denx/m28evk/m28evk.c
board/denx/m28evk/mem_init.c
include/configs/m28evk.h