mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! ARM: boards: Add support for PRT8ML
@ 2025-09-24  8:13 Jonas Rebmann
  2025-09-26 11:31 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Jonas Rebmann @ 2025-09-24  8:13 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Jonas Rebmann

Remove redundant clock setup code already present in
imx8m_ccgr_clock_enable() called from imx8mp_cpu_lowlevel_init()

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
 arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c b/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c
index 54c0e4a1a7..ffbc08b6bc 100644
--- a/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c
+++ b/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c
@@ -86,11 +86,6 @@ static __noreturn noinline void prt_prt8ml_start(void)
 
 ENTRY_FUNCTION(start_prt_prt8ml, r0, r1, r2)
 {
-	void __iomem *ccm = IOMEM(MX8M_CCM_BASE_ADDR);
-
-	writel(IMX8M_CCM_CCGR_SETTINGn_NEEDED(0),
-	       ccm + IMX8M_CCM_CCGRn_SET(IMX8M_CCM_CCGR_SCTR));
-
 	imx8mp_cpu_lowlevel_init();
 
 	relocate_to_current_adr();

---
base-commit: 7e32be40a193007e138c0eb589eb852420655523
change-id: 20250924-prt8ml-fixup-5cdfa477bca8

Best regards,
--  
Jonas Rebmann <jre@pengutronix.de>




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

* Re: [PATCH] fixup! ARM: boards: Add support for PRT8ML
  2025-09-24  8:13 [PATCH] fixup! ARM: boards: Add support for PRT8ML Jonas Rebmann
@ 2025-09-26 11:31 ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-09-26 11:31 UTC (permalink / raw)
  To: Jonas Rebmann; +Cc: BAREBOX

On Wed, Sep 24, 2025 at 10:13:51AM +0200, Jonas Rebmann wrote:
> Remove redundant clock setup code already present in
> imx8m_ccgr_clock_enable() called from imx8mp_cpu_lowlevel_init()
> 
> Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
> ---
>  arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c | 5 -----
>  1 file changed, 5 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c b/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c
> index 54c0e4a1a7..ffbc08b6bc 100644
> --- a/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c
> +++ b/arch/arm/boards/protonic-imx8m/lowlevel-prt8ml.c
> @@ -86,11 +86,6 @@ static __noreturn noinline void prt_prt8ml_start(void)
>  
>  ENTRY_FUNCTION(start_prt_prt8ml, r0, r1, r2)
>  {
> -	void __iomem *ccm = IOMEM(MX8M_CCM_BASE_ADDR);
> -
> -	writel(IMX8M_CCM_CCGR_SETTINGn_NEEDED(0),
> -	       ccm + IMX8M_CCM_CCGRn_SET(IMX8M_CCM_CCGR_SCTR));
> -
>  	imx8mp_cpu_lowlevel_init();
>  
>  	relocate_to_current_adr();
> 
> ---
> base-commit: 7e32be40a193007e138c0eb589eb852420655523
> change-id: 20250924-prt8ml-fixup-5cdfa477bca8
> 
> Best regards,
> --  
> Jonas Rebmann <jre@pengutronix.de>
> 
> 

-- 
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 |



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

* Re: [PATCH] fixup! ARM: boards: Add support for PRT8ML
  2025-09-28 13:28 Lucas Stach
@ 2025-09-29  7:25 ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-09-29  7:25 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Sun, Sep 28, 2025 at 03:28:18PM +0200, Lucas Stach wrote:
> Include Barebox specific DT to enabled Barebox features
> like memory size detection and the feature controller.
> ---
>  arch/arm/dts/imx8mp-prt8ml.dts | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx8mp-prt8ml.dts b/arch/arm/dts/imx8mp-prt8ml.dts
> index 4072d595ad0f..15c3e710ae12 100644
> --- a/arch/arm/dts/imx8mp-prt8ml.dts
> +++ b/arch/arm/dts/imx8mp-prt8ml.dts
> @@ -5,6 +5,7 @@
>  
>  /dts-v1/;
>  #include "imx8mp-prt8ml.dtsi"
> +#include "imx8mp.dtsi"
>  
>  / {
>  	chosen {
> -- 
> 2.47.3
> 
> 
> 

-- 
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 |



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

* [PATCH] fixup! ARM: boards: Add support for PRT8ML
@ 2025-09-28 13:28 Lucas Stach
  2025-09-29  7:25 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Lucas Stach @ 2025-09-28 13:28 UTC (permalink / raw)
  To: barebox

Include Barebox specific DT to enabled Barebox features
like memory size detection and the feature controller.
---
 arch/arm/dts/imx8mp-prt8ml.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/imx8mp-prt8ml.dts b/arch/arm/dts/imx8mp-prt8ml.dts
index 4072d595ad0f..15c3e710ae12 100644
--- a/arch/arm/dts/imx8mp-prt8ml.dts
+++ b/arch/arm/dts/imx8mp-prt8ml.dts
@@ -5,6 +5,7 @@
 
 /dts-v1/;
 #include "imx8mp-prt8ml.dtsi"
+#include "imx8mp.dtsi"
 
 / {
 	chosen {
-- 
2.47.3




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

end of thread, other threads:[~2025-09-29  7:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-24  8:13 [PATCH] fixup! ARM: boards: Add support for PRT8ML Jonas Rebmann
2025-09-26 11:31 ` Sascha Hauer
2025-09-28 13:28 Lucas Stach
2025-09-29  7:25 ` Sascha Hauer

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