bdinfo: arm: Move ARM-specific info into its own file
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 20:16:56 +0000 (14:16 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2020 17:24:12 +0000 (13:24 -0400)
commit59b0d7d839f135bc44d3459784337a657149f8b3
treec65f4183a47f4345aa1eb3c7e4e2f8010d5e7fe9
parent655f17ff7d8631ca9344a4bff5918243e5bfed37
bdinfo: arm: Move ARM-specific info into its own file

We don't really want to have ARM-specific code in a generic file. Create
a new arch-specific function to hold it, and move it into that.

Make the function weak so that any arch can implement it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/arm/lib/Makefile
arch/arm/lib/bdinfo.c [new file with mode: 0644]
cmd/bdinfo.c
include/init.h