mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
board_f: Use static print_cpuinfo if CONFIG_CPU is active
When the DM CPU drivers are active, printing information about a CPU should be delegated to a matching driver. Hence, add a static print_cpuinfo that implements this delegation when DM CPU drivers are active. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc> Changed condition to CONFIG_IS_ENABLED(CPU): Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dc145a7be3
commit
c0434407b5
2 changed files with 35 additions and 0 deletions
|
@ -109,7 +109,14 @@ int arch_reserve_stacks(void);
|
|||
*/
|
||||
int init_cache_f_r(void);
|
||||
|
||||
#if !CONFIG_IS_ENABLED(CPU)
|
||||
/**
|
||||
* print_cpuinfo() - Display information about the CPU
|
||||
*
|
||||
* Return: 0 if OK, -ve on error
|
||||
*/
|
||||
int print_cpuinfo(void);
|
||||
#endif
|
||||
int timer_init(void);
|
||||
int reserve_mmu(void);
|
||||
int misc_init_f(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue