Skip to content

[IMX8MM][MYON2] Automatically apply DT overlay specific to board revision

This MR fixes the first problem from !152 (comment 463054):

board_revision should be automatically selected, and not via seco_config

The commit introduces a new routine for loading and applying the overlay of the device tree, depending on the detected revision of the board. This routine is stored in the fdt_overlay_board_rev env variable.

In order to execute this code after the loading of the dtb, we overwrite the command fdt_overlay_load2ram (MACRO_ENV_FDT_LOAD_OVERLAY_BASE).

Edited by Dmitry Petrov

Merge request reports

Loading