mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 02:44:37 +00:00
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:
parent
3be9f399e9
commit
20fa79cfc4
2 changed files with 5 additions and 5 deletions
|
@ -48,8 +48,3 @@ int arch_cpu_init(void)
|
|||
gd->ram_size = CFG_SYS_SDRAM_SIZE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int dram_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue