aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Silva <rui.silva@linaro.org>2019-10-09 12:54:30 +0100
committerManish Pandey <manish.pandey2@arm.com>2020-02-18 21:48:43 +0000
commitd983b7a167c07d4d5ae1fd856274d54b4599ae03 (patch)
tree0af21164385daf659838a1e9a96a185e922affaf
parent8a10c6c274b9c450fb84bb64901d11c47f4e06e1 (diff)
downloadtrusted-firmware-a-d983b7a167c07d4d5ae1fd856274d54b4599ae03.tar.gz
corstone700: fdts: using DDR memory and XIP rootfs
This patch allows to use DDR address in memory node because on FPGA we typically use DDR instead of shared RAM. This patch also modifies the kernel arguments to allow the rootfs to be mounted from a direct mapping of the QSPI NOR flash using the physmap driver in the kernel. This allows to support CRAMFS XIP. Change-Id: I4e2bc6a1f48449c7f60e00f5f1a698df8cb2ba89 Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com> Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
-rw-r--r--fdts/corstone700.dts11
1 files changed, 6 insertions, 5 deletions
diff --git a/fdts/corstone700.dts b/fdts/corstone700.dts
index 8c3bd0c05..c13d3b23e 100644
--- a/fdts/corstone700.dts
+++ b/fdts/corstone700.dts
@@ -14,9 +14,10 @@
#size-cells = <1>;
chosen {
- bootargs = "console=ttyAMA0 root=/dev/vda2 rw loglevel=9";
- linux,initrd-start = <0x02a00000>;
- linux,initrd-end = <0x04000000>;
+ bootargs = "console=ttyAMA0 \
+ root=mtd:physmap-flash.0 \
+ ro \
+ loglevel=9";
};
cpus {
@@ -32,9 +33,9 @@
};
- memory@2000000 {
+ memory@80000000 {
device_type = "memory";
- reg = <0x02000000 0x02000000>;
+ reg = <0x80000000 0x80000000>;
};
gic: interrupt-controller@1c000000 {