diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2017-01-18 12:59:21 -0800 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-01-18 14:52:43 -0800 |
commit | e497c8e52a83ebb5309ab41c8851c9cb53f28b73 (patch) | |
tree | 09224d6a1274b9c74ebd8845486af8dd6e39b113 /arch/arc/include/asm | |
parent | 8c47f83ba45928ce9495fcf1b29e828c28e3c839 (diff) | |
download | op-kernel-dev-e497c8e52a83ebb5309ab41c8851c9cb53f28b73.zip op-kernel-dev-e497c8e52a83ebb5309ab41c8851c9cb53f28b73.tar.gz |
ARCv2: IOC: Use actual memory size to setup aperture size
vs. fixed 512M before.
But this still assumes that all of memory is under IOC which may not be
true for the SoC. Improve that later when this becomes a real issue, by
specifying this from DT.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm')
-rw-r--r-- | arch/arc/include/asm/setup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/include/asm/setup.h b/arch/arc/include/asm/setup.h index cb954cd..c568a9d 100644 --- a/arch/arc/include/asm/setup.h +++ b/arch/arc/include/asm/setup.h @@ -31,6 +31,7 @@ extern int root_mountflags, end_mem; void setup_processor(void); void __init setup_arch_memory(void); +long __init arc_get_mem_sz(void); /* Helpers used in arc_*_mumbojumbo routines */ #define IS_AVAIL1(v, s) ((v) ? s : "") |