diff options
Diffstat (limited to 'src/soc/rockchip/rk3288/cbmem.c')
-rw-r--r-- | src/soc/rockchip/rk3288/cbmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/rockchip/rk3288/cbmem.c b/src/soc/rockchip/rk3288/cbmem.c index 2eed97281a..38ea365469 100644 --- a/src/soc/rockchip/rk3288/cbmem.c +++ b/src/soc/rockchip/rk3288/cbmem.c @@ -20,9 +20,9 @@ #include <cbmem.h> #include <stddef.h> #include <symbols.h> +#include <soc/sdram.h> void *cbmem_top(void) { - return _dram + (size_t)CONFIG_DRAM_SIZE_MB*MiB; + return _dram + sdram_size_mb()*MiB; } - |