[PATCH] imx233-olinuxino: Fix mx23_power_init() arguments

Fabio Estevam festevam at gmail.com
Mon Jan 11 16:08:20 PST 2016


From: Fabio Estevam <fabio.estevam at nxp.com>

Commit 4d70da6 ("ARM: MXS: power-init: Add parameters to
mx28_power_init()") causes imx233-olinuxino to not boot anymore.

imx233-olinuxino is commonly powered from external input supply,
so adjust the mx23_power_init() arguments to reflect that.

Reported-by: Peter Mamonov <pmamonov at gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
Tested-by: Peter Mamonov <pmamonov at gmail.com>
---
 arch/arm/boards/imx233-olinuxino/lowlevel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/imx233-olinuxino/lowlevel.c b/arch/arm/boards/imx233-olinuxino/lowlevel.c
index ce46f7e..63a6523 100644
--- a/arch/arm/boards/imx233-olinuxino/lowlevel.c
+++ b/arch/arm/boards/imx233-olinuxino/lowlevel.c
@@ -154,7 +154,7 @@ static noinline void imx23_olinuxino_init(void)
 
 	pr_debug("initializing power...\n");
 
-	mx23_power_init(0, 1, 0);
+	mx23_power_init(0, 0, 1);
 
 	pr_debug("initializing SDRAM...\n");
 
-- 
1.9.1




More information about the barebox mailing list