]> git.dujemihanovic.xyz Git - u-boot.git/commit
bdinfo: m68k: ppc: Move arch-specific code from bdinfo
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 20:16:59 +0000 (14:16 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2020 17:24:13 +0000 (13:24 -0400)
commit64791981ebbfbfc150f132081f2471c21b485076
tree58604e67dbf7425a2605bd0a077d75fb8d61cca8
parent1a520d949b00a0468746a5d4f14920f54c8f6766
bdinfo: m68k: ppc: Move arch-specific code from bdinfo

We don't have an easy way to share these three lines of code with two
architectures. We also want to make it clear that this code is actually
arch-specific.

So just duplicate it in each arch-specific file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/m68k/lib/bdinfo.c
arch/powerpc/lib/bdinfo.c
cmd/bdinfo.c