]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc: qemu: Drop fixed_sdram()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:57 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:44 +0000 (10:25 +0530)
This function is not called anywhere. Only fsl_ddr_sdram_size() is
necessary [1] for QEMU. Drop it.

[1] arch/powerpc/cpu/mpc85xx/cpu.c::dram_init()

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/qemu-ppce500/qemu-ppce500.c

index 202b7f657debd48e66deeed9f023ed46da4bc987..7d711b8328572a24e0ce0bf2516f35e21e874d17 100644 (file)
@@ -187,11 +187,6 @@ static uint64_t get_linear_ram_size(void)
        panic("Couldn't determine RAM size");
 }
 
-phys_size_t fixed_sdram(void)
-{
-       return get_linear_ram_size();
-}
-
 phys_size_t fsl_ddr_sdram_size(void)
 {
        return get_linear_ram_size();