mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: oss-tools@pengutronix.de
Cc: Xogium <contact@xogium.me>, Jookia <contact@jookia.org>
Subject: [OSS-Tools] [PATCH] libdt: enumerate amba bus as well
Date: Thu,  8 Oct 2020 17:09:34 +0200	[thread overview]
Message-ID: <20201008150934.14357-1-a.fatoum@pengutronix.de> (raw)

The STM32MP1 probes the SD/MMC host controller over amba, not
the platform bus as most other ARM systems. Enumerate amba as well,
so we can use barebox-state on that SoC.

Reported-by: Jookia <contact@jookia.org>
Tested-by: Xogium <contact@xogium.me>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 src/libdt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libdt.c b/src/libdt.c
index 01f0a6941aa2..342313f8aed7 100644
--- a/src/libdt.c
+++ b/src/libdt.c
@@ -2057,6 +2057,7 @@ static void of_scan_udev_devices(void)
 	udev_enumerate_add_match_subsystem(enumerate, "i2c");
 	udev_enumerate_add_match_subsystem(enumerate, "spi");
 	udev_enumerate_add_match_subsystem(enumerate, "mtd");
+	udev_enumerate_add_match_subsystem(enumerate, "amba");
 	udev_enumerate_scan_devices(enumerate);
 	devices = udev_enumerate_get_list_entry(enumerate);
 
-- 
2.28.0


_______________________________________________
OSS-Tools mailing list
OSS-Tools@pengutronix.de

             reply	other threads:[~2020-10-08 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 15:09 Ahmad Fatoum [this message]
2021-02-10  9:31 ` Jan Lübbe
2021-03-16 14:19   ` Roland Hieber

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=20201008150934.14357-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=contact@jookia.org \
    --cc=contact@xogium.me \
    --cc=oss-tools@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