]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf355f60f48d2f44e729520acae22ec87af33b4b1
treec65f4183a47f4345aa1eb3c7e4e2f8010d5e7fe9
parent3ae209c8d958be572ab51406ffebc97b61e95a3e
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