sh: add common dram_init() function for all boards
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 27 Nov 2016 22:15:31 +0000 (00:15 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 02:32:51 +0000 (21:32 -0500)
commitcdbb0cf8ecf30d5dbbfa500e8939a32ef45896c5
tree6d01620f6567eaa8b5b5177a3882501752d17552
parent18a40e8470246da3ee4cdef721524140f54cc6c9
sh: add common dram_init() function for all boards

Generic board support assumes a different method of specifying
DRAM size on board, also it can be shared among all boards, notably
only sh7763rdp board has a custom legacy dram_init(), however
the difference is only in printing some additional information,
this feature can be removed.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
23 files changed:
arch/sh/lib/Makefile
arch/sh/lib/board.c [new file with mode: 0644]
board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c
board/espt/espt.c
board/mpr2/mpr2.c
board/ms7720se/ms7720se.c
board/ms7722se/ms7722se.c
board/ms7750se/ms7750se.c
board/renesas/MigoR/migo_r.c
board/renesas/ap325rxa/ap325rxa.c
board/renesas/ecovec/ecovec.c
board/renesas/r0p7734/r0p7734.c
board/renesas/r2dplus/r2dplus.c
board/renesas/r7780mp/r7780mp.c
board/renesas/rsk7203/rsk7203.c
board/renesas/rsk7264/rsk7264.c
board/renesas/rsk7269/rsk7269.c
board/renesas/sh7752evb/sh7752evb.c
board/renesas/sh7753evb/sh7753evb.c
board/renesas/sh7757lcr/sh7757lcr.c
board/renesas/sh7763rdp/sh7763rdp.c
board/renesas/sh7785lcr/sh7785lcr.c
board/shmin/shmin.c