mx51evk: Configure the pins as GPIOs prior to using gpio_get_value
authorFabio Estevam <festevam@gmail.com>
Tue, 15 Nov 2011 05:51:33 +0000 (05:51 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:39 +0000 (23:59 +0100)
commit58aef72d891ab46e3fbf775a43782143817354ba
tree9166bce616b76cba711e1937f98ad0754f9e8ce4
parent3ee3729e95da0f12126fe26c0c05f34405061920
mx51evk: Configure the pins as GPIOs prior to using gpio_get_value

Configure the pins as GPIO prior to using gpio_get_value.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx51evk/mx51evk.c