summaryrefslogtreecommitdiff
path: root/board/amcc/yosemite/yosemite.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-05-30 17:45:30 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-05-30 17:45:30 +0200
commitb9b2480f4fdeb0b3285a338e22916dd249cdf973 (patch)
tree88124a77ba2b44806cd7bf02b568aec5d01286bc /board/amcc/yosemite/yosemite.c
parentd9455273053bb69a94a338dff56330d3be50f14e (diff)
downloadu-boot-imx-b9b2480f4fdeb0b3285a338e22916dd249cdf973.zip
u-boot-imx-b9b2480f4fdeb0b3285a338e22916dd249cdf973.tar.gz
u-boot-imx-b9b2480f4fdeb0b3285a338e22916dd249cdf973.tar.bz2
Correct GPIO setup (UART1/IRQ's) on yosemite & yellowstone
Patch by Stefan Roese, 29 May 2006
Diffstat (limited to 'board/amcc/yosemite/yosemite.c')
-rw-r--r--board/amcc/yosemite/yosemite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c
index 392d0dc..6742441 100644
--- a/board/amcc/yosemite/yosemite.c
+++ b/board/amcc/yosemite/yosemite.c
@@ -79,8 +79,8 @@ int board_early_init_f(void)
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
/* external interrupts IRQ0...3 */
- out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x0f000000);
- out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x00005500);
+ out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x00f00000);
+ out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x0000ff00);
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
/*setup USB 2.0 */