help on udoo_neo power up on mainline uboot
Fabio Estevam
festevam at gmail.com
Wed Dec 29 23:38:56 CET 2021
Hi Tommaso,
On Wed, Dec 29, 2021 at 7:08 PM Tommaso Merciai <tomm.merciai at gmail.com> wrote:
> Hi Fabio,
> I'll check and let u know. This patch these gpio's to get righ ram cfg
> right?
>
> Let me know.
Yes, according to Peter, the failure comes only during the second call
to get_board_value()
I think the patch below should fix it:
diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
index 62f81fff6817..075c4f208f23 100644
--- a/board/udoo/neo/neo.c
+++ b/board/udoo/neo/neo.c
@@ -333,6 +333,8 @@ static int get_board_value(void)
* Extended 1 1
*/
+ gpio_free(IMX_GPIO_NR(4, 13));
+ gpio_free(IMX_GPIO_NR(4, 0));
return (r184 << 1) + r185;
}
Thanks
More information about the U-Boot
mailing list