summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-03-24 05:16:02 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-08-14 11:59:25 +0400
commitb82837c772c3a1d8778295ab094cf46ecddc8057 (patch)
treef5e0448766fe2bb1441a8789c7423a86fc0dce8c /arch
parent270eec76de2557c9df01d74bc4c948d0924fc007 (diff)
downloadlinux-b82837c772c3a1d8778295ab094cf46ecddc8057.tar.gz
linux-b82837c772c3a1d8778295ab094cf46ecddc8057.tar.bz2
linux-b82837c772c3a1d8778295ab094cf46ecddc8057.zip
xtensa: configure kc705 for highmem
Enable all memory available on KC705 (1G - 128M) by default. Update memory node in DTS and also limit usable memory in bootargs in case memmap is passed from the bootloader. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/xtensa/boot/dts/kc705.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/xtensa/boot/dts/kc705.dts b/arch/xtensa/boot/dts/kc705.dts
index 742a347be67a..c4d17a34ab86 100644
--- a/arch/xtensa/boot/dts/kc705.dts
+++ b/arch/xtensa/boot/dts/kc705.dts
@@ -4,8 +4,11 @@
/ {
compatible = "cdns,xtensa-kc705";
+ chosen {
+ bootargs = "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000";
+ };
memory@0 {
device_type = "memory";
- reg = <0x00000000 0x08000000>;
+ reg = <0x00000000 0x38000000>;
};
};