summaryrefslogtreecommitdiff
path: root/board/bc3450/bc3450.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-11-02 21:26:38 +0100
committerWolfgang Denk <wd@denx.de>2006-11-02 21:26:38 +0100
commitee58ea2689930669678fdcb27bf0cc5c341e18eb (patch)
treebf11e40342f78ed8014d4a7a4185a6357ef88af5 /board/bc3450/bc3450.c
parentc59200443072353044aa4bf737a5a60f9a9af231 (diff)
parent25721b5cec2be4bce79cfade17ec8f6aa1e67526 (diff)
downloadu-boot-imx-ee58ea2689930669678fdcb27bf0cc5c341e18eb.zip
u-boot-imx-ee58ea2689930669678fdcb27bf0cc5c341e18eb.tar.gz
u-boot-imx-ee58ea2689930669678fdcb27bf0cc5c341e18eb.tar.bz2
Merge with /home/tur/proj/uboot_linux_v38b/u-boot
Diffstat (limited to 'board/bc3450/bc3450.c')
-rw-r--r--board/bc3450/bc3450.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/bc3450/bc3450.c b/board/bc3450/bc3450.c
index 0d86518..05bb723 100644
--- a/board/bc3450/bc3450.c
+++ b/board/bc3450/bc3450.c
@@ -295,7 +295,6 @@ void pci_init_board(void)
#endif
#if defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET)
-#define GPIO_PSC1_4 0x01000000UL
void init_ide_reset (void)
{
@@ -311,9 +310,9 @@ void ide_set_reset (int idereset)
debug ("ide_reset(%d)\n", idereset);
if (idereset) {
- *(vu_long *) MPC5XXX_WU_GPIO_DATA &= ~GPIO_PSC1_4;
+ *(vu_long *) MPC5XXX_WU_GPIO_DATA_O &= ~GPIO_PSC1_4;
} else {
- *(vu_long *) MPC5XXX_WU_GPIO_DATA |= GPIO_PSC1_4;
+ *(vu_long *) MPC5XXX_WU_GPIO_DATA_O |= GPIO_PSC1_4;
}
}
#endif /* defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) */