]> git.sur5r.net Git - u-boot/commit
board_r: remove superfluous #ifdef CONFIG_PRAM
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jan 2018 23:54:20 +0000 (00:54 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:29 +0000 (15:49 -0500)
commit7341714d6e489fd2b552181deae1e5dca2d85b52
tree0021c6373b5b01779a207ba13a0fffad9ab66045
parentbb2277b3ee163de41f3e6f41bec24624f7f41f80
board_r: remove superfluous #ifdef CONFIG_PRAM

initr_mem() is already enclosed by
#if defined(CONFIG_PRAM)
#endif

So there is no need to check CONFIG_PRAM again inside the
function.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_r.c