summaryrefslogtreecommitdiff
path: root/board/dave
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2014-10-02 17:17:24 +0300
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:55 -0600
commit8f488c1bac744bcaa8558c9d099144ea70e8316d (patch)
tree5fdb6a0adec955758dd6b33627916709ea9820df /board/dave
parentc6f3f32356b21f3220cfb4a17c37645249ba6d30 (diff)
downloadu-boot-imx-8f488c1bac744bcaa8558c9d099144ea70e8316d.zip
u-boot-imx-8f488c1bac744bcaa8558c9d099144ea70e8316d.tar.gz
u-boot-imx-8f488c1bac744bcaa8558c9d099144ea70e8316d.tar.bz2
arm: mx6: cm_fx6: use gpio request
Use gpio_request for all the gpios that are utilized by various subsystems in cm-fx6, and refactor the relevant init functions so that all gpios are requested during board_init(), not during subsystem init, thus avoiding the need to manage gpio ownership each time a subsystem is initialized. The new division of labor is: During board_init() muxes are setup and gpios are requested. During subsystem init gpios are toggled. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'board/dave')
0 files changed, 0 insertions, 0 deletions