aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-04-05 23:49:00 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-08 20:46:10 +0200
commitf978f410aa4f4b5ce9a4c18c815507bcbfb75b9d (patch)
treeaf93e3194d1977c1a0919581ab88e1145a2f3f68
parent764ca3ec8999fbeb64e2ddb3cd2df0f7004fc59b (diff)
downloadqemu-f978f410aa4f4b5ce9a4c18c815507bcbfb75b9d.zip
qemu-f978f410aa4f4b5ce9a4c18c815507bcbfb75b9d.tar.gz
qemu-f978f410aa4f4b5ce9a4c18c815507bcbfb75b9d.tar.bz2
hw/arm/imx8mp-evk: Temporarily remove unimplemented imx8mp-fspi node from devicetree
The nxp,imx8mp-fspi node triggers a warning backtrace. Remove it from the devicetree file. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Inspired-by: commit bf1da4b308 ("hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices") Signed-off-by: Bernhard Beschow <shentey@gmail.com> [Bernhard: split patch, adapt commit message] Message-ID: <20250405214900.7114-4-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--hw/arm/imx8mp-evk.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/hw/arm/imx8mp-evk.c b/hw/arm/imx8mp-evk.c
index 3bbf2bf..b5aec06e 100644
--- a/hw/arm/imx8mp-evk.c
+++ b/hw/arm/imx8mp-evk.c
@@ -19,7 +19,22 @@
static void imx8mp_evk_modify_dtb(const struct arm_boot_info *info, void *fdt)
{
- int offset;
+ int i, offset;
+
+ /* Temporarily disable following nodes until they are implemented */
+ const char *nodes_to_remove[] = {
+ "nxp,imx8mp-fspi",
+ };
+
+ for (i = 0; i < ARRAY_SIZE(nodes_to_remove); i++) {
+ const char *dev_str = nodes_to_remove[i];
+
+ offset = fdt_node_offset_by_compatible(fdt, -1, dev_str);
+ while (offset >= 0) {
+ fdt_nop_node(fdt, offset);
+ offset = fdt_node_offset_by_compatible(fdt, offset, dev_str);
+ }
+ }
/* Remove cpu-idle-states property from CPU nodes */
offset = fdt_node_offset_by_compatible(fdt, -1, "arm,cortex-a53");