diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-01-23 15:40:26 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-10-28 13:43:42 +0300 |
commit | f759ee57b205223e98fdc97e26cbef305b8048e1 (patch) | |
tree | 1ceaee0601c6eac98954b1f62a57d69af51c43f3 /arch/arc/mm/init.c | |
parent | 483bcc99c0a349570b30fc9cb20dea20c9387a4b (diff) | |
download | linux-f759ee57b205223e98fdc97e26cbef305b8048e1.tar.xz |
ARC: Ensure DT mem base is same as what kernel is built with
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/init.c')
-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 |