diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-23 13:31:22 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-25 17:38:41 -0500 |
commit | cbcbf71bf238abd6daf13116b9a209c8fc98ae64 (patch) | |
tree | 693a11758b7eea2d9c1f47962caf5c74bd4df870 /include/common.h | |
parent | 4585601ae2147730fcf342ed9b57a2c684503490 (diff) | |
download | u-boot-imx-cbcbf71bf238abd6daf13116b9a209c8fc98ae64.zip u-boot-imx-cbcbf71bf238abd6daf13116b9a209c8fc98ae64.tar.gz u-boot-imx-cbcbf71bf238abd6daf13116b9a209c8fc98ae64.tar.bz2 |
powerpc: Drop probecpu() in favour of arch_cpu_init()
To avoid an unnecessary arch-specific call in board_init_f(), rename this
function.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 2af555e..53cdadf 100644 --- a/include/common.h +++ b/include/common.h @@ -600,7 +600,17 @@ int cpu_num_dspcores(void); u32 cpu_mask (void); u32 cpu_dsp_mask(void); int is_core_valid (unsigned int); -int probecpu (void); + +/** + * arch_cpu_init() - basic cpu-dependent setup for an architecture + * + * This is called after early malloc is available. It should handle any + * CPU- or SoC- specific init needed to continue the init sequence. See + * board_f.c for where it is called. If this is not provided, a default + * version (which does nothing) will be used. + */ +int arch_cpu_init(void); + int checkcpu (void); int checkicache (void); int checkdcache (void); |