summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-08 17:09:34 +0200
committerRoland Hieber <rhi@pengutronix.de>2021-03-16 15:18:47 +0100
commit4826dcbce7498b255e9840ad903fea8eca9e1bcf (patch)
tree27298bc45c5782932f8e24ba808d5830714aead5
parent74cd46affa37b8215442a998fb52bcb06c803f8a (diff)
downloaddt-utils-4826dcbce7498b255e9840ad903fea8eca9e1bcf.tar.gz
dt-utils-4826dcbce7498b255e9840ad903fea8eca9e1bcf.tar.xz
libdt: enumerate amba bus as well
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> Message-Id: <20201008150934.14357-1-a.fatoum@pengutronix.de> Tested-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
-rw-r--r--src/libdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libdt.c b/src/libdt.c
index 01f0a69..342313f 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);