[PATCH v3 05/17] cmd: bdinfo: Move sram info prints to generic code
Simon Glass
sjg at chromium.org
Tue Jul 21 16:17:14 CEST 2020
On Mon, 20 Jul 2020 at 08:18, Ovidiu Panait <ovidiu.panait at windriver.com> wrote:
>
> bi_sramstart and bi_sramsize are generic members of the bd_info structure,
> so move the m68k/powerpc-specific prints to generic code. Also, print them
> only if SRAM support is enabled via CONFIG_SYS_HAS_SRAM.
>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
> ---
>
> arch/m68k/lib/bdinfo.c | 4 ----
> arch/powerpc/lib/bdinfo.c | 4 ----
> cmd/bdinfo.c | 4 ++++
> 3 files changed, 4 insertions(+), 8 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list