]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xtensa: Move dram_init to xtfpga board file
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 18 Jun 2024 13:56:01 +0000 (14:56 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jul 2024 22:08:36 +0000 (16:08 -0600)
This is a board level stuff.

Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
arch/xtensa/cpu/cpu.c
board/cadence/xtfpga/xtfpga.c

index abcd8f7984fac81e601e650b10e2a826b3654894..d2266812229c0a4e8e8a486e0bff1978141abfd7 100644 (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;
-}
index 5110fed31194f5596eb1e02910201beeb47d526e..6b92fe31c0e05cc0e984de6fb82d211bfaafd7c2 100644 (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();