summaryrefslogtreecommitdiff
path: root/board/omap3/overo/overo.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-02-22 22:51:32 +0100
committerWolfgang Denk <wd@denx.de>2009-02-22 22:51:32 +0100
commitcea221116aa305dbf43625513a1210b89116262b (patch)
treef9dbc5ccf72b7003104e6b61e09a82153cbb69aa /board/omap3/overo/overo.c
parent68a41f2e98b6866d679698cf2b5e81b3627a2d75 (diff)
parent9d34d0a0c12266d80e7b3ab3cbdafc3d81a01832 (diff)
downloadu-boot-imx-cea221116aa305dbf43625513a1210b89116262b.zip
u-boot-imx-cea221116aa305dbf43625513a1210b89116262b.tar.gz
u-boot-imx-cea221116aa305dbf43625513a1210b89116262b.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'board/omap3/overo/overo.c')
-rw-r--r--board/omap3/overo/overo.c13
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;
}