diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 14:16:56 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-25 13:24:12 -0400 |
commit | 59b0d7d839f135bc44d3459784337a657149f8b3 (patch) | |
tree | c65f4183a47f4345aa1eb3c7e4e2f8010d5e7fe9 /include/init.h | |
parent | 655f17ff7d8631ca9344a4bff5918243e5bfed37 (diff) |
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>
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index af4deed566..e727031514 100644 --- a/include/init.h +++ b/include/init.h @@ -267,6 +267,9 @@ void bdinfo_print_num(const char *name, ulong value); /* Print a clock speed in MHz */ void bdinfo_print_mhz(const char *name, unsigned long hz); +/* Show arch-specific information for the 'bd' command */ +void arch_print_bdinfo(void); + #endif /* __ASSEMBLY__ */ /* Put only stuff here that the assembler can digest */ |