summaryrefslogtreecommitdiff
path: root/board/freescale/ls2085ardb/ls2085ardb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/ls2085ardb/ls2085ardb.c')
-rw-r--r--board/freescale/ls2085ardb/ls2085ardb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/ls2085ardb/ls2085ardb.c b/board/freescale/ls2085ardb/ls2085ardb.c
index 15cb251..1f8cf8a 100644
--- a/board/freescale/ls2085ardb/ls2085ardb.c
+++ b/board/freescale/ls2085ardb/ls2085ardb.c
@@ -212,7 +212,7 @@ unsigned long get_dram_size_to_hide(void)
dram_to_hide += mc_get_dram_block_size();
#endif
- return dram_to_hide;
+ return roundup(dram_to_hide, CONFIG_SYS_MEM_TOP_HIDE_MIN);
}
#ifdef CONFIG_FSL_MC_ENET