summaryrefslogtreecommitdiff
path: root/board/tqm5200/tqm5200.c
diff options
context:
space:
mode:
authorroy zang <tie-fei.zang@freescale.com>2006-11-03 13:40:03 +0800
committerZang Tiefei <roy@bus.ap.freescale.net>2006-11-03 13:40:03 +0800
commit1f2c5c5385f5bd7849b88e761c6e201ff7fefe8b (patch)
tree28502219ab085dda7febe844a4050874b938cbc2 /board/tqm5200/tqm5200.c
parentc1fbe4103a0d6c8957f912af902d705ba67836f2 (diff)
parentee58ea2689930669678fdcb27bf0cc5c341e18eb (diff)
downloadu-boot-imx-1f2c5c5385f5bd7849b88e761c6e201ff7fefe8b.zip
u-boot-imx-1f2c5c5385f5bd7849b88e761c6e201ff7fefe8b.tar.gz
u-boot-imx-1f2c5c5385f5bd7849b88e761c6e201ff7fefe8b.tar.bz2
Merge /home/roy/CVS/7448/Open_Source/u-boot.git.dev
Diffstat (limited to 'board/tqm5200/tqm5200.c')
-rw-r--r--board/tqm5200/tqm5200.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c
index 1d81dce..cb57a5e 100644
--- a/board/tqm5200/tqm5200.c
+++ b/board/tqm5200/tqm5200.c
@@ -341,9 +341,7 @@ void pci_init_board(void)
#define SM501_GPIO_DATA_DIR_HIGH 0x0001000CUL
#define SM501_GPIO_DATA_HIGH 0x00010004UL
#define SM501_GPIO_51 0x00080000UL
-#else
-#define GPIO_PSC1_4 0x01000000UL
-#endif
+#endif /* CONFIG MINIFAP */
void init_ide_reset (void)
{
@@ -381,9 +379,9 @@ void ide_set_reset (int idereset)
}
#else
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
}