DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH] v7a: barebox: am335x: drop redundant usb-limit-1300 script
Date: Fri, 12 Dec 2025 17:05:59 +0100	[thread overview]
Message-ID: <20251212160600.1406459-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2025-12-12 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12 16:05 Ahmad Fatoum [this message]
2025-12-12 16:11 ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251212160600.1406459-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox