Unable to implement board fdt-fixup for imx8m CPU

Simon Glass sjg at chromium.org
Mon Apr 24 23:01:35 CEST 2023


Hi Hugo,

On Mon, 24 Apr 2023 at 14:53, Hugo Villeneuve <hugo at hugovil.com> wrote:
>
> Hi,
> according to this document:
>
>     doc/develop/driver-model/fdt-fixup.rst
>
> it is suggested that boards implement the board_fix_fdt() function to tweak the device tree. I am trying to do just that, but unfortunately I cannot because the following source file already has an implementation of board_fix_fdt():
>
>     arch/arm/mach-imx/imx8m/soc.c
>
> For all boards using a imx8m CPU, how can we implement board_fix_fdt()?

If you enable CONFIG_EVENT you can use EVT_FT_FIXUP to add as many
fixup functions as you need.

Migration to use that mechanism everywhere hasn't really started, but
I think it would be useful.

Regards,
Simon


More information about the U-Boot mailing list