summaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/qemu/dram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/cpu/qemu/dram.c')
-rw-r--r--arch/riscv/cpu/qemu/dram.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/riscv/cpu/qemu/dram.c b/arch/riscv/cpu/qemu/dram.c
deleted file mode 100644
index 84d87d2a7f..0000000000
--- a/arch/riscv/cpu/qemu/dram.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
- */
-
-#include <common.h>
-#include <fdtdec.h>
-
-int dram_init(void)
-{
- return fdtdec_setup_mem_size_base();
-}
-
-int dram_init_banksize(void)
-{
- return fdtdec_setup_memory_banksize();
-}