diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-04-04 12:17:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-04-17 09:00:44 +0200 |
commit | bcffedd4ff12323cad69995aaafb7f777e4fadaf (patch) | |
tree | 60e0677e17665fb4f27750db4b61acffbea3d0a7 /arch/arm/boards/phytec-som-imx6 | |
parent | 5f000f251ba269c395057528a2f100511d29ba04 (diff) | |
download | barebox-bcffedd4ff12323cad69995aaafb7f777e4fadaf.tar.gz barebox-bcffedd4ff12323cad69995aaafb7f777e4fadaf.tar.xz |
treewide: remove no-longer needed IMD_USED_OF
Now that a __dtb* reference automatically pulls in the IMD tag if
support is compiled in, we can drop all IMD_USED_OF and turn the macro
into a no-op until we remove it completely.
Theoretically, an out-of-tree board could reference a DT via IMD_USED_OF
and not actually reference it via __dtb_*_start. So instead of makign
IMD_USED_OF a no-top, let's print a warning for a few releases until
we remove it completely.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230404101706.2237453-2-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/phytec-som-imx6')
-rw-r--r-- | arch/arm/boards/phytec-som-imx6/lowlevel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boards/phytec-som-imx6/lowlevel.c b/arch/arm/boards/phytec-som-imx6/lowlevel.c index bbd77dd734..da5665a716 100644 --- a/arch/arm/boards/phytec-som-imx6/lowlevel.c +++ b/arch/arm/boards/phytec-som-imx6/lowlevel.c @@ -76,7 +76,6 @@ static void __noreturn start_imx6_phytec_common(uint32_t size, extern char __dtb_##fdt_name##_start[]; \ \ IMD_USED(physom_mx6_memsize_##memory_size); \ - IMD_USED_OF(fdt_name); \ \ start_imx6_phytec_common(memory_size, do_early_uart_config, \ __dtb_##fdt_name##_start); \ |