]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
odroid: adjust gpio calls to dm gpio api
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 28 Oct 2014 16:31:07 +0000 (17:31 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 30 Oct 2014 10:56:16 +0000 (19:56 +0900)
commit4aa97312f7147b68b8b7c731d7bb01cff8dda2d6
tree6360d7b2ea11fed4b3a39b338b8bc8d62ab1ebd0
parent9e306f15c60570ebed1029e0d0690eea53fb6019
odroid: adjust gpio calls to dm gpio api

Setting gpio value before dm gpio init has no effect,
so now, odroid gpio settings are moved after the gpio uclass init.

Using non-requested gpio pin cases printing error messages.
To avoid this, gpio_request() is added for those gpios.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/odroid/odroid.c