summaryrefslogtreecommitdiffstats
path: root/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0453-arm64-dts-renesas-salvator-common-Increase-U-Boot-pa.patch
blob: bfed8a06f590d52bdef26e187981b98f65c37dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From 4bba9d3777068ee97982c4b6c60a5eb29d06baab Mon Sep 17 00:00:00 2001
From: Valentine Barshak <valentine.barshak@cogentembedded.com>
Date: Fri, 20 Dec 2019 14:05:20 +0300
Subject: [PATCH 2/2] arm64: dts: renesas: salvator-common: Increase U-Boot
 partition size

Increase U-Boot partition size according to its actual size.
This involves moving the "u-boot-env", "kernel", "dtb" and
"user" partitions further by one sector which is safe
at this point because they are not used yet. U-Boot
environment is located on the eMMC flash.

Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
---
 arch/arm64/boot/dts/renesas/salvator-common.dtsi | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
index 5083d92..6bc9c6e 100644
--- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
@@ -856,21 +856,21 @@
 				read-only;
 			};
 			uboot@00640000 {
-				reg = <0x00640000 0x0C0000>;
+				reg = <0x00640000 0x100000>;
 				read-only;
 			};
-			uboot-env@00700000 {
-				reg = <0x00700000 0x040000>;
+			uboot-env@00740000 {
+				reg = <0x00740000 0x040000>;
 				read-only;
 			};
-			dtb@00740000 {
-				reg = <0x00740000 0x080000>;
+			dtb@00780000 {
+				reg = <0x00780000 0x080000>;
 			};
-			kernel@007C0000 {
-				reg = <0x007C0000 0x1400000>;
+			kernel@00800000 {
+				reg = <0x00800000 0x1400000>;
 			};
-			user@01BC0000 {
-				reg = <0x01BC0000 0x2440000>;
+			user@01C00000 {
+				reg = <0x01C00000 0x2400000>;
 			};
 		};
 	};
-- 
2.7.4