lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240628-am642-evm-nand-bootph-v2-1-387bfa1533a6@kernel.org>
Date: Fri, 28 Jun 2024 13:30:38 +0300
From: Roger Quadros <rogerq@...nel.org>
To: Nishanth Menon <nm@...com>, Vignesh Raghavendra <vigneshr@...com>, 
 Tero Kristo <kristo@...nel.org>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>
Cc: srk@...com, praneeth@...com, linux-arm-kernel@...ts.infradead.org, 
 devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Roger Quadros <rogerq@...nel.org>
Subject: [PATCH v2] arm: dts: k3-am642-evm-nand: Add bootph-all to NAND
 related nodes

NAND boot would require these nodes to be present at early stage.
Ensure that by adding "bootph-all" to relevant nodes.

Signed-off-by: Roger Quadros <rogerq@...nel.org>
---
Changes in v2:
- Add 'bootph-all' only to leaf nodes
---
 arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso b/arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso
index dc70b6fbc3d7..f08c0e272b53 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso
+++ b/arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso
@@ -13,6 +13,7 @@
 
 &main_pmx0 {
 	gpmc0_pins_default: gpmc0-pins-default {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x0094, PIN_INPUT, 7) /* (T19) GPMC0_BE1n.GPIO0_36 */
 			AM64X_IOPAD(0x003c, PIN_INPUT, 0) /* (T20) GPMC0_AD0 */
@@ -50,6 +51,7 @@ AM64X_IOPAD(0x00a4, PIN_OUTPUT, 0) /* (N17) GPMC0_DIR */
 
 &main_gpio0 {
 	gpio0-36 {
+		bootph-all;
 		gpio-hog;
 		gpios = <36 0>;
 		input;
@@ -58,6 +60,7 @@ gpio0-36 {
 };
 
 &elm0 {
+	bootph-all;
 	status = "okay";
 };
 
@@ -106,30 +109,37 @@ partitions {
 			#size-cells = <1>;
 
 			partition@0 {
+				bootph-all;
 				label = "NAND.tiboot3";
 				reg = <0x00000000 0x00200000>;	/* 2M */
 			};
 			partition@...000 {
+				bootph-all;
 				label = "NAND.tispl";
 				reg = <0x00200000 0x00200000>;	/* 2M */
 			};
 			partition@...000 {
+				bootph-all;
 				label = "NAND.tiboot3.backup";	/* 2M */
 				reg = <0x00400000 0x00200000>;	/* BootROM looks at 4M */
 			};
 			partition@...000 {
+				bootph-all;
 				label = "NAND.u-boot";
 				reg = <0x00600000 0x00400000>;	/* 4M */
 			};
 			partition@...000 {
+				bootph-all;
 				label = "NAND.u-boot-env";
 				reg = <0x00a00000 0x00040000>;	/* 256K */
 			};
 			partition@...000 {
+				bootph-all;
 				label = "NAND.u-boot-env.backup";
 				reg = <0x00a40000 0x00040000>;	/* 256K */
 			};
 			partition@...000 {
+				bootph-all;
 				label = "NAND.file-system";
 				reg = <0x00a80000 0x3f580000>;
 			};

---
base-commit: 4031a2866a9f0f5c585cfee65b3fb5ab17c95276
change-id: 20240623-am642-evm-nand-bootph-03b68b4c9d9e

Best regards,
-- 
Roger Quadros <rogerq@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ