mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: "Jan Lübbe" <jlu@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>, oss-tools@pengutronix.de
Subject: Re: [OSS-Tools] [PATCH] libdt: enumerate amba bus as well
Date: Wed, 10 Feb 2021 10:31:44 +0100	[thread overview]
Message-ID: <37fb0e23f74c3cc4ad1f378d4fd01534e88f35d1.camel@pengutronix.de> (raw)
In-Reply-To: <20201008150934.14357-1-a.fatoum@pengutronix.de>

On Thu, 2020-10-08 at 17:09 +0200, Ahmad Fatoum wrote:
> 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>

Works on my STM32MP1DK2.

Tested-by: Jan Luebbe <jlu@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);
>  
> 
> 
> 

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


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

  reply	other threads:[~2021-02-10  9:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 15:09 Ahmad Fatoum
2021-02-10  9:31 ` Jan Lübbe [this message]
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=37fb0e23f74c3cc4ad1f378d4fd01534e88f35d1.camel@pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --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