All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size
@ 2021-06-07 13:38 ` Aswath Govindraju
  0 siblings, 0 replies; 16+ messages in thread
From: Aswath Govindraju @ 2021-06-07 13:38 UTC (permalink / raw)
  Cc: Lokesh Vutla, Vignesh Raghavendra, Suman Anna,
	Kishon Vijay Abraham I, Aswath Govindraju, Nishanth Menon,
	Tero Kristo, Rob Herring, linux-arm-kernel, devicetree,
	linux-kernel

Due to a limitation for USB DFU boot mode, SPL load address has to be less
than  or equal to 0x70001000. So, load address of SPL and ATF have been
moved to 0x70000000 and 0x701a0000 respectively.

Also, the maximum size of ATF has been increased to 0x1c000 [1].

Therefore, update ATF's location and maximum size accordingly in the device
tree file.

[1] - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=2fb5312f61a7de8b7a70e1639199c4f14a10b6f9

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
index ca59d1f711f8..fcd12b6f10f6 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -13,8 +13,8 @@
 		#size-cells = <1>;
 		ranges = <0x0 0x00 0x70000000 0x200000>;
 
-		atf-sram@0 {
-			reg = <0x0 0x1a000>;
+		atf-sram@1a0000 {
+			reg = <0x1a0000 0x1c000>;
 		};
 	};
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-06-14 18:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 13:38 [PATCH v2] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size Aswath Govindraju
2021-06-07 13:38 ` Aswath Govindraju
2021-06-09 14:09 ` Lokesh Vutla
2021-06-09 14:09   ` Lokesh Vutla
2021-06-09 14:29 ` Lokesh Vutla
2021-06-09 14:29   ` Lokesh Vutla
2021-06-09 15:22   ` Aswath Govindraju
2021-06-09 15:22     ` Aswath Govindraju
2021-06-09 15:24     ` Lokesh Vutla
2021-06-09 15:24       ` Lokesh Vutla
2021-06-14 18:16       ` Suman Anna
2021-06-14 18:16         ` Suman Anna
2021-06-11 19:00 ` Nishanth Menon
2021-06-11 19:00   ` Nishanth Menon
2021-06-14 14:32   ` Nishanth Menon
2021-06-14 14:32     ` Nishanth Menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.