diff options
Diffstat (limited to 'arch/arc/mm')
-rw-r--r-- | arch/arc/mm/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c index d44eedd8c322..5121b9b16ba8 100644 --- a/arch/arc/mm/init.c +++ b/arch/arc/mm/init.c @@ -43,6 +43,8 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size) { arc_mem_sz = size & PAGE_MASK; pr_info("Memory size set via devicetree %ldM\n", TO_MB(arc_mem_sz)); + + BUG_ON(base != CONFIG_LINUX_LINK_BASE); } #ifdef CONFIG_BLK_DEV_INITRD |