summary refs log tree commit diff
path: root/arch/arc/boot/dts/axc003_idu.dtsi
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2017-08-15 21:13:54 +0300
committerVineet Gupta <vgupta@synopsys.com>2017-09-01 11:26:27 -0700
commit9ed68785f7f2b001a6911d64fbd10cfc6fa49b27 (patch)
tree57bf1ba37285d0a090eb52d24f15115f58d64e4f /arch/arc/boot/dts/axc003_idu.dtsi
parentbee91c3a3ce63daf64bb53ae60e6a2fb2961d3d7 (diff)
downloadlinux-9ed68785f7f2b001a6911d64fbd10cfc6fa49b27.tar.gz
ARC: mm: Decouple RAM base address from kernel link address
	[Needed for HSDK]

Currently the first page of system (hence RAM base) is assumed to be
@ CONFIG_LINUX_LINK_BASE, where kernel itself is linked.

However is case of HSDK platform, for reasons explained in that patch,
this is not true. kernel needs to be linked @ 0x9000_0000 while DDR
is still wired at 0x8000_0000. To properly account for this 256M of RAM,
we need to introduce a new option and base page frame accountiing off of
it.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[vgupta: renamed  CONFIG_KERNEL_RAM_BASE_ADDRESS => CONFIG_LINUX_RAM_BASE
       : simplified changelog]
Diffstat (limited to 'arch/arc/boot/dts/axc003_idu.dtsi')
-rw-r--r--arch/arc/boot/dts/axc003_idu.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/boot/dts/axc003_idu.dtsi b/arch/arc/boot/dts/axc003_idu.dtsi
index 5b56beffc1c5..63954a8b0100 100644
--- a/arch/arc/boot/dts/axc003_idu.dtsi
+++ b/arch/arc/boot/dts/axc003_idu.dtsi
@@ -115,7 +115,7 @@
 
 	memory {
 		device_type = "memory";
-		/* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
+		/* CONFIG_LINUX_RAM_BASE needs to match low mem start */
 		reg = <0x0 0x80000000 0x0 0x20000000	/* 512 MiB low mem */
 		       0x1 0xc0000000 0x0 0x40000000>;	/* 1 GiB highmem */
 	};