From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Ahmad Fatoum Date: Thu, 8 Oct 2020 17:09:34 +0200 Message-Id: <20201008150934.14357-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Subject: [OSS-Tools] [PATCH] libdt: enumerate amba bus as well List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: oss-tools-bounces@pengutronix.de Sender: "OSS-Tools" To: oss-tools@pengutronix.de Cc: Xogium , Jookia 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 Tested-by: Xogium Signed-off-by: Ahmad Fatoum --- 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