diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2009-02-12 18:55:40 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-02-22 18:29:10 +0100 |
commit | 288f3cd912918b97919d13b6f7fb13fbddf74d68 (patch) | |
tree | 9cec61159c084dd50fa22caa3b9998e2529c2e92 /board/omap3/overo/overo.c | |
parent | 2579019b8248e5f166e60e37065766efc8a49dbc (diff) | |
download | u-boot-imx-288f3cd912918b97919d13b6f7fb13fbddf74d68.zip u-boot-imx-288f3cd912918b97919d13b6f7fb13fbddf74d68.tar.gz u-boot-imx-288f3cd912918b97919d13b6f7fb13fbddf74d68.tar.bz2 |
OMAP3: Overo: Clean up pin mux and GPIO configuration
* Make Overo GPIO114 an input for touchscreen PENDOWN
* Make Overo GPIO144-147 readable
* Make Overo EHCI pinmux match beagle rev c setup
* Adjust pinmux for SMSC911X network chip support
* Remove unnecessary GPIO setup
* Fix merge error in Makefile
Signed-off-by: Steve Sakoman <sakoman@gmail.com>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'board/omap3/overo/overo.c')
-rw-r--r-- | board/omap3/overo/overo.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/omap3/overo/overo.c b/board/omap3/overo/overo.c index 7964123..48375ad 100644 --- a/board/omap3/overo/overo.c +++ b/board/omap3/overo/overo.c @@ -58,21 +58,8 @@ int board_init(void) *****************************************************************************/ int misc_init_r(void) { - gpio_t *gpio5_base = (gpio_t *)OMAP34XX_GPIO5_BASE; - gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE; - power_init_r(); - /* Configure GPIOs to output */ - writel(~((GPIO10) | GPIO9 | GPIO3 | GPIO2), &gpio6_base->oe); - writel(~(GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO22 | GPIO21 | - GPIO15 | GPIO14 | GPIO13 | GPIO12), &gpio5_base->oe); - - /* Set GPIOs */ - writel(GPIO10 | GPIO9 | GPIO3 | GPIO2, &gpio6_base->setdataout); - writel(GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO22 | GPIO21 | - GPIO15 | GPIO14 | GPIO13 | GPIO12, &gpio5_base->setdataout); - return 0; } |