[U-Boot] [RESEND][PATCH 19/24] sh: add common dram_init() function for all boards

Simon Glass sjg at chromium.org
Wed Nov 30 01:34:02 CET 2016


On 27 November 2016 at 15:15, Vladimir Zapolskiy <vz at mleia.com> wrote:
> 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 at mleia.com>
> ---
>  arch/sh/lib/Makefile                       |  2 +-
>  arch/sh/lib/board.c                        | 17 +++++++++++++++++
>  board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c | 11 -----------
>  board/espt/espt.c                          | 10 ----------
>  board/mpr2/mpr2.c                          | 10 ----------
>  board/ms7720se/ms7720se.c                  | 10 ----------
>  board/ms7722se/ms7722se.c                  | 10 ----------
>  board/ms7750se/ms7750se.c                  | 10 ----------
>  board/renesas/MigoR/migo_r.c               | 10 ----------
>  board/renesas/ap325rxa/ap325rxa.c          | 10 ----------
>  board/renesas/ecovec/ecovec.c              | 10 ----------
>  board/renesas/r0p7734/r0p7734.c            | 11 -----------
>  board/renesas/r2dplus/r2dplus.c            | 10 ----------
>  board/renesas/r7780mp/r7780mp.c            | 10 ----------
>  board/renesas/rsk7203/rsk7203.c            | 10 ----------
>  board/renesas/rsk7264/rsk7264.c            | 10 ----------
>  board/renesas/rsk7269/rsk7269.c            | 10 ----------
>  board/renesas/sh7752evb/sh7752evb.c        | 11 -----------
>  board/renesas/sh7753evb/sh7753evb.c        | 11 -----------
>  board/renesas/sh7757lcr/sh7757lcr.c        | 25 -------------------------
>  board/renesas/sh7763rdp/sh7763rdp.c        | 10 ----------
>  board/renesas/sh7785lcr/sh7785lcr.c        | 10 ----------
>  board/shmin/shmin.c                        | 10 ----------
>  23 files changed, 18 insertions(+), 230 deletions(-)
>  create mode 100644 arch/sh/lib/board.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list