mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: socfpga: achilles: remove unused barebox,bootstate node
@ 2020-08-02 10:40 Ahmad Fatoum
  2020-08-03 19:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2020-08-02 10:40 UTC (permalink / raw)
  To: barebox; +Cc: Xogium

We use barebox,state as compatible for the state node. The
barebox,bootstate node serves no purpose with current code base and is
just confusing. Drop it.

Reported-by: Xogium <contact@xogium.me>
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 arch/arm/dts/socfpga_arria10_achilles.dts | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts b/arch/arm/dts/socfpga_arria10_achilles.dts
index 2fce0114c89a..6071dbfb49ee 100644
--- a/arch/arm/dts/socfpga_arria10_achilles.dts
+++ b/arch/arm/dts/socfpga_arria10_achilles.dts
@@ -106,24 +106,6 @@
 			};
 		};
 	};
-
-	bootstate: bootstate {
-		compatible = "barebox,bootstate";
-		backend-type = "state"; // or "nv", or "efivar"
-		backend = <&state>;
-
-		system0 {
-			default_attempts = <3>;
-		};
-
-		system1 {
-			default_attempts = <3>;
-		};
-
-		factory {
-			default_attempts = <3>;
-		};
-	};
 };
 
 &{/soc/clkmgr@ffd04000/clocks/osc1} {
-- 
2.27.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: socfpga: achilles: remove unused barebox,bootstate node
  2020-08-02 10:40 [PATCH] ARM: socfpga: achilles: remove unused barebox,bootstate node Ahmad Fatoum
@ 2020-08-03 19:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-08-03 19:02 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox, Xogium

On Sun, Aug 02, 2020 at 12:40:41PM +0200, Ahmad Fatoum wrote:
> We use barebox,state as compatible for the state node. The
> barebox,bootstate node serves no purpose with current code base and is
> just confusing. Drop it.
> 
> Reported-by: Xogium <contact@xogium.me>
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  arch/arm/dts/socfpga_arria10_achilles.dts | 18 ------------------
>  1 file changed, 18 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts b/arch/arm/dts/socfpga_arria10_achilles.dts
> index 2fce0114c89a..6071dbfb49ee 100644
> --- a/arch/arm/dts/socfpga_arria10_achilles.dts
> +++ b/arch/arm/dts/socfpga_arria10_achilles.dts
> @@ -106,24 +106,6 @@
>  			};
>  		};
>  	};
> -
> -	bootstate: bootstate {
> -		compatible = "barebox,bootstate";
> -		backend-type = "state"; // or "nv", or "efivar"
> -		backend = <&state>;
> -
> -		system0 {
> -			default_attempts = <3>;
> -		};
> -
> -		system1 {
> -			default_attempts = <3>;
> -		};
> -
> -		factory {
> -			default_attempts = <3>;
> -		};
> -	};
>  };
>  
>  &{/soc/clkmgr@ffd04000/clocks/osc1} {
> -- 
> 2.27.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-08-03 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-02 10:40 [PATCH] ARM: socfpga: achilles: remove unused barebox,bootstate node Ahmad Fatoum
2020-08-03 19:02 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox