[PATCH 1/6] ARM: imx: add QP as supported i.MX6 variant

Lucas Stach l.stach at pengutronix.de
Fri Jul 22 05:31:25 PDT 2016


Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/mach-imx/imx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-imx/imx.c b/arch/arm/mach-imx/imx.c
index 374ee35df154..2e33325c9f09 100644
--- a/arch/arm/mach-imx/imx.c
+++ b/arch/arm/mach-imx/imx.c
@@ -59,6 +59,8 @@ static int imx_soc_from_dt(void)
 		return IMX_CPU_IMX6;
 	if (of_machine_is_compatible("fsl,imx6sx"))
 		return IMX_CPU_IMX6;
+	if (of_machine_is_compatible("fsl,imx6qp"))
+		return IMX_CPU_IMX6;
 
 	return 0;
 }
-- 
2.8.1




More information about the barebox mailing list