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:
parent
ae7a3dc0b2
commit
912fa0754a
|
|
@ -250,6 +250,11 @@ static int setup_mon_len(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
__weak int arch_fpga_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
__weak int arch_cpu_init(void)
|
||||
{
|
||||
return 0;
|
||||
|
|
@ -808,6 +813,7 @@ static const init_fnc_t init_sequence_f[] = {
|
|||
#if defined(CONFIG_HAVE_FSP)
|
||||
arch_fsp_init,
|
||||
#endif
|
||||
arch_fpga_init,
|
||||
arch_cpu_init, /* basic arch cpu dependent setup */
|
||||
mach_cpu_init, /* SoC/machine dependent CPU setup */
|
||||
initf_dm,
|
||||
|
|
|
|||
|
|
@ -523,6 +523,8 @@ int is_core_valid (unsigned int);
|
|||
*/
|
||||
int arch_cpu_init(void);
|
||||
|
||||
int arch_fpga_init(void);
|
||||
|
||||
void s_init(void);
|
||||
|
||||
int checkcpu (void);
|
||||
|
|
|
|||
Loading…
Reference in New Issue