common: board_f.c: add fpga init call

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I5fb507094207b14ad64cf3dee646aaac177bf43d
This commit is contained in:
Joseph Chen 2020-10-25 10:05:26 +08:00 committed by Jianhong Chen
parent ae7a3dc0b2
commit 912fa0754a
2 changed files with 8 additions and 0 deletions

View File

@ -250,6 +250,11 @@ static int setup_mon_len(void)
return 0; return 0;
} }
__weak int arch_fpga_init(void)
{
return 0;
}
__weak int arch_cpu_init(void) __weak int arch_cpu_init(void)
{ {
return 0; return 0;
@ -808,6 +813,7 @@ static const init_fnc_t init_sequence_f[] = {
#if defined(CONFIG_HAVE_FSP) #if defined(CONFIG_HAVE_FSP)
arch_fsp_init, arch_fsp_init,
#endif #endif
arch_fpga_init,
arch_cpu_init, /* basic arch cpu dependent setup */ arch_cpu_init, /* basic arch cpu dependent setup */
mach_cpu_init, /* SoC/machine dependent CPU setup */ mach_cpu_init, /* SoC/machine dependent CPU setup */
initf_dm, initf_dm,

View File

@ -523,6 +523,8 @@ int is_core_valid (unsigned int);
*/ */
int arch_cpu_init(void); int arch_cpu_init(void);
int arch_fpga_init(void);
void s_init(void); void s_init(void);
int checkcpu (void); int checkcpu (void);