[PATCH] fixup! ARM: i.MX8M: imx8mn-evk: disable DDRC memory detection

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Jun 23 03:37:08 PDT 2022


Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
Masked by patch not destined for master, that will change it
to board driver... Please squash.
---
 arch/arm/boards/nxp-imx8mn-evk/board.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boards/nxp-imx8mn-evk/board.c b/arch/arm/boards/nxp-imx8mn-evk/board.c
index 07e197ccedd2..cd58a5a397e3 100644
--- a/arch/arm/boards/nxp-imx8mn-evk/board.c
+++ b/arch/arm/boards/nxp-imx8mn-evk/board.c
@@ -9,6 +9,7 @@
 #include <linux/phy.h>
 #include <linux/sizes.h>
 #include <mach/bbu.h>
+#include <mach/esdctl.h>
 #include <envfs.h>
 
 #define PHY_ID_AR8031	0x004dd074
@@ -62,7 +63,7 @@ static int nxp_imx8mn_evk_init(void)
 	 * setup.  Until that's resolved, disable dynamic detection and
 	 * use only memory size specified in DT
 	 */
-	imx_esdctl_disable(1);
+	imx_esdctl_disable();
 
 	return 0;
 }
-- 
2.30.2




More information about the barebox mailing list