The board code has nothing baseboard-specific: It just registers the barebox update handler and activates the environment on the bootsource, both of which are applicable to any boards using the same SoM. Therefore, let's replace the board matches with a match on the SoM. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/boards/tqma8mpxl/board.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boards/tqma8mpxl/board.c b/arch/arm/boards/tqma8mpxl/board.c index 16ba1eb1c61c..8b67acb91c55 100644 --- a/arch/arm/boards/tqma8mpxl/board.c +++ b/arch/arm/boards/tqma8mpxl/board.c @@ -35,8 +35,7 @@ static int tqma8mpxl_probe(struct device *dev) } static const struct of_device_id tqma8mpxl_of_match[] = { - { .compatible = "tq,imx8mp-tqma8mpdl-mba8mpxl"}, - { .compatible = "tq,imx8mp-tqma8mpql-mba8mpxl"}, + { .compatible = "tq,imx8mp-tqma8mpql" }, { /* sentinel */ }, }; BAREBOX_DEEP_PROBE_ENABLE(tqma8mpxl_of_match); -- 2.39.2