xtensa: Move dram_init to xtfpga board file

This is a board level stuff.

Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
This commit is contained in:
Jiaxun Yang 2024-06-18 14:56:01 +01:00 committed by Tom Rini
parent 3be9f399e9
commit 20fa79cfc4
2 changed files with 5 additions and 5 deletions

View file

@ -48,8 +48,3 @@ int arch_cpu_init(void)
gd->ram_size = CFG_SYS_SDRAM_SIZE;
return 0;
}
int dram_init(void)
{
return 0;
}

View file

@ -66,6 +66,11 @@ unsigned long get_board_sys_clk(void)
#endif
}
int dram_init(void)
{
return 0;
}
int board_postclk_init(void)
{
gd->cpu_clk = get_board_sys_clk();