1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

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>
This commit is contained in:
Simon Glass
2020-05-10 14:16:56 -06:00
committed by Tom Rini
parent 655f17ff7d
commit 59b0d7d839
4 changed files with 62 additions and 38 deletions

View File

@@ -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 */