summaryrefslogtreecommitdiff
path: root/board/lwmon5
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-08-26 12:08:48 +0200
committerStefan Roese <sr@denx.de>2013-09-07 09:48:06 +0200
commit9055f66c2dfb637d0f30372a7e79cca854e45bae (patch)
tree6c88973acb2a27d8468dafc753fb880581afa5b4 /board/lwmon5
parent1affd4d4a3fe512050e1ad1636d9360c670da531 (diff)
downloadu-boot-imx-9055f66c2dfb637d0f30372a7e79cca854e45bae.zip
u-boot-imx-9055f66c2dfb637d0f30372a7e79cca854e45bae.tar.gz
u-boot-imx-9055f66c2dfb637d0f30372a7e79cca854e45bae.tar.bz2
ppc4xx: Fix GPIO handling in lwmon5 and lcd4_lwmon5 BSP
LCD4 needs a slightly different GPIO configuration than the original LWMON5 variant. GPIO49 needs to be configured to a default output value of 0 (permanent voltage supply). Additionally lcd4 also needs to enable the LSB transmitter. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/lwmon5')
-rw-r--r--board/lwmon5/lwmon5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/lwmon5/lwmon5.c b/board/lwmon5/lwmon5.c
index 4e4a594..e9aa0b7 100644
--- a/board/lwmon5/lwmon5.c
+++ b/board/lwmon5/lwmon5.c
@@ -527,6 +527,9 @@ void spl_board_init(void)
*/
board_early_init_f();
+ /* enable the LSB transmitter */
+ gpio_write_bit(CONFIG_SYS_GPIO_LSB_ENABLE, 1);
+
/*
* Clear resets
*/