From cbcbf71bf238abd6daf13116b9a209c8fc98ae64 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 23 Jan 2017 13:31:22 -0700 Subject: 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 --- include/common.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 2af555ee00c..53cdadf09cc 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); -- cgit v1.3.1