]> git.baikalelectronics.ru Git - uboot.git/commit
bdinfo: m68k: Move m68k-specific info into its own file
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 20:16:58 +0000 (14:16 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2020 17:24:12 +0000 (13:24 -0400)
commitf1255e244aac949874e3f40c90781b2f966b7a32
tree112827e8e596aa76dbe013396290e6adbd773bed
parent9f2c670d74ba9be445cccc72f743dc5ef3fe0b2f
bdinfo: m68k: Move m68k-specific info into its own file

We don't really want to have m68k-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>
Tested-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Tested-by: Angelo Dureghello <angelo.dureghello@timesys.com>
arch/m68k/lib/Makefile
arch/m68k/lib/bdinfo.c [new file with mode: 0644]
cmd/bdinfo.c