On Mon, 20 Jul 2020 at 08:18, Ovidiu Panait <ovidiu.pan...@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.pan...@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 <s...@chromium.org>

Reply via email to