aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 14:16:57 -0600
committerTom Rini <trini@konsulko.com>2020-06-25 13:24:12 -0400
commit79d074d30196811478eb7242121f97cac405b6aa (patch)
tree00ace2bf2b0b1cf75aed710116be4b7bb886a2a6 /arch/powerpc/lib/Makefile
parent59b0d7d839f135bc44d3459784337a657149f8b3 (diff)
downloadu-boot-79d074d30196811478eb7242121f97cac405b6aa.zip
u-boot-79d074d30196811478eb7242121f97cac405b6aa.tar.gz
u-boot-79d074d30196811478eb7242121f97cac405b6aa.tar.bz2
bdinfo: ppc: Move PPC-specific info into its own file
We don't really want to have PPC-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> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/lib/Makefile')
-rw-r--r--arch/powerpc/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index 01c9dd5..f61809a 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -15,6 +15,8 @@ MINIMAL=y
endif
endif
+obj-y += bdinfo.o
+
ifdef MINIMAL
obj-y += cache.o time.o
ifndef CONFIG_TIMER