Patchwork [U-Boot,6/9] mx23_olinuxino: Disable the internal pad keepers

login
register
mail settings
Submitter Fabio Estevam
Date May 1, 2013, 9:44 p.m.
Message ID <1367444689-31301-7-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/240820/
State Changes Requested
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - May 1, 2013, 9:44 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

Disable the internal pad keepers to match the code from FSL bootlets and provide
better stability.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 board/olimex/mx23_olinuxino/spl_boot.c |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/board/olimex/mx23_olinuxino/spl_boot.c b/board/olimex/mx23_olinuxino/spl_boot.c
index 5a43677..65a9f41 100644
--- a/board/olimex/mx23_olinuxino/spl_boot.c
+++ b/board/olimex/mx23_olinuxino/spl_boot.c
@@ -114,5 +114,9 @@  void board_init_ll(void)
 	writel(0, &pinctrl->drive13);
 	writel(0, &pinctrl->drive14);
 	writel(0, &pinctrl->drive9);
+
+	/* Disable the internal pad keepers */
+	writel(0x3ffff, &pinctrl->pull3);
+
 	mxs_common_spl_init(iomux_setup, ARRAY_SIZE(iomux_setup));
 }