aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/setup.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2017-01-18 12:59:21 -0800
committerVineet Gupta <vgupta@synopsys.com>2017-01-18 14:52:43 -0800
commite497c8e52a83ebb5309ab41c8851c9cb53f28b73 (patch)
tree09224d6a1274b9c74ebd8845486af8dd6e39b113 /arch/arc/include/asm/setup.h
parentARCv2: IOC: Adhere to progamming model guidelines to avoid DMA corruption (diff)
downloadlinux-dev-e497c8e52a83ebb5309ab41c8851c9cb53f28b73.tar.xz
linux-dev-e497c8e52a83ebb5309ab41c8851c9cb53f28b73.zip
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/setup.h')
-rw-r--r--arch/arc/include/asm/setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/include/asm/setup.h b/arch/arc/include/asm/setup.h
index cb954cdab070..c568a9df82b1 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 : "")