diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-11-07 03:50:34 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-07 12:13:35 -0500 |
commit | 5764ea2df4efadd1ef0576ec45f33e137ce5aad8 (patch) | |
tree | aa81e5fe3cc1fb8dc311ed9cf3857d647426e799 /include/init.h | |
parent | f63f65e489625c68ba3980b810de33a7a0a677f5 (diff) |
Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"
This reverts commit c0434407b595f785fc7401237896c48c791b45fd.
It turns out commit c0434407b595 broke some boards which have DM CPU
driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail
to boot when print_cpuinfo() is called during boot.
Fixes are already sent to ML and in u-boot-dm/next, however since
we are getting close to the v2018.11 release, it's safer we revert
the original commit.
This commit should be reverted after v2018.11 release.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/init.h b/include/init.h index afc953d51e2..a58d7a6917f 100644 --- a/include/init.h +++ b/include/init.h @@ -109,14 +109,7 @@ 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); |