[PATCH v3 36/38] ppc: qemu: Drop fixed_sdram()
Bin Meng
bmeng.cn at gmail.com
Thu Feb 25 10:22:57 CET 2021
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 at gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>
---
(no changes since v2)
Changes in v2:
- new patch: ppc: qemu: Drop fixed_sdram()
board/freescale/qemu-ppce500/qemu-ppce500.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c
index 202b7f6..7d711b8 100644
--- a/board/freescale/qemu-ppce500/qemu-ppce500.c
+++ b/board/freescale/qemu-ppce500/qemu-ppce500.c
@@ -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();
--
2.7.4
More information about the U-Boot
mailing list