[PATCH 2/2] ARM: i.MX8MP: tqma8mpxl: match board code against SoM compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux