DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v7a: barebox: am335x: drop redundant usb-limit-1300 script
@ 2025-12-12 16:05 Ahmad Fatoum
  2025-12-12 16:11 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-12-12 16:05 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

The script is taken from barebox and since 2014, it's being added on a
per board basis with the DistroKit provided BSP being overlaid on top.

I thus see no reason, why we this file was imported in 2018, but it's
not needed now for sure, because it just masks the equally named file
included in the original barebox built-in environment.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .../platform-v7a/barebox-defaultenv/init/usb-limit-1300    | 7 -------
 1 file changed, 7 deletions(-)
 delete mode 100644 configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300

diff --git a/configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300 b/configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300
deleted file mode 100644
index 704b4452d5e3..000000000000
--- a/configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if of_compatible -k ti,am33xx; then
-	echo -n "changing USB current limit to 1300 mA... "
-	i2c_write -b 0 -a 0x24 -r 0x01 0x3e
-	echo "done"
-fi
-- 
2.47.3




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

* Re: [DistroKit] [PATCH] v7a: barebox: am335x: drop redundant usb-limit-1300 script
  2025-12-12 16:05 [DistroKit] [PATCH] v7a: barebox: am335x: drop redundant usb-limit-1300 script Ahmad Fatoum
@ 2025-12-12 16:11 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2025-12-12 16:11 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: distrokit

Applied to next.

On Fri, Dec 12, 2025 at 05:05:59PM +0100, Ahmad Fatoum wrote:
> The script is taken from barebox and since 2014, it's being added on a
> per board basis with the DistroKit provided BSP being overlaid on top.
> 
> I thus see no reason, why we this file was imported in 2018, but it's
> not needed now for sure, because it just masks the equally named file
> included in the original barebox built-in environment.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  .../platform-v7a/barebox-defaultenv/init/usb-limit-1300    | 7 -------
>  1 file changed, 7 deletions(-)
>  delete mode 100644 configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300
> 
> diff --git a/configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300 b/configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300
> deleted file mode 100644
> index 704b4452d5e3..000000000000
> --- a/configs/platform-v7a/barebox-defaultenv/init/usb-limit-1300
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -#!/bin/sh
> -
> -if of_compatible -k ti,am33xx; then
> -	echo -n "changing USB current limit to 1300 mA... "
> -	i2c_write -b 0 -a 0x24 -r 0x01 0x3e
> -	echo "done"
> -fi
> -- 
> 2.47.3
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



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

end of thread, other threads:[~2025-12-12 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-12 16:05 [DistroKit] [PATCH] v7a: barebox: am335x: drop redundant usb-limit-1300 script Ahmad Fatoum
2025-12-12 16:11 ` Robert Schwebel

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