summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/imgtec/pistachio/cbmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/imgtec/pistachio/cbmem.c b/src/soc/imgtec/pistachio/cbmem.c
index 373d4f853d..1aed030326 100644
--- a/src/soc/imgtec/pistachio/cbmem.c
+++ b/src/soc/imgtec/pistachio/cbmem.c
@@ -25,6 +25,5 @@
void *cbmem_top(void)
{
- uintptr_t top = MIN(CONFIG_DRAM_SIZE_MB, 256) << 20;
- return _dram + top;
+ return _dram + (CONFIG_DRAM_SIZE_MB << 20);
}