diff options
| author | Jiaxun Yang <[email protected]> | 2024-06-18 14:56:01 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-04 16:08:36 -0600 |
| commit | 20fa79cfc42ae4389108cac7259ad0fe3f320e9f (patch) | |
| tree | dbe3294db26445889578c200fe4677f6f4d6588f | |
| parent | 3be9f399e911cfc437a37ac826441f1d96da1c9b (diff) | |
xtensa: Move dram_init to xtfpga board file
This is a board level stuff.
Tested-by: Max Filippov <[email protected]>
Signed-off-by: Jiaxun Yang <[email protected]>
| -rw-r--r-- | arch/xtensa/cpu/cpu.c | 5 | ||||
| -rw-r--r-- | board/cadence/xtfpga/xtfpga.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/xtensa/cpu/cpu.c b/arch/xtensa/cpu/cpu.c index abcd8f7984f..d2266812229 100644 --- a/arch/xtensa/cpu/cpu.c +++ b/arch/xtensa/cpu/cpu.c @@ -48,8 +48,3 @@ int arch_cpu_init(void) gd->ram_size = CFG_SYS_SDRAM_SIZE; return 0; } - -int dram_init(void) -{ - return 0; -} diff --git a/board/cadence/xtfpga/xtfpga.c b/board/cadence/xtfpga/xtfpga.c index 5110fed3119..6b92fe31c0e 100644 --- a/board/cadence/xtfpga/xtfpga.c +++ b/board/cadence/xtfpga/xtfpga.c @@ -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(); |
