diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-11-02 21:26:38 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2006-11-02 21:26:38 +0100 |
commit | ee58ea2689930669678fdcb27bf0cc5c341e18eb (patch) | |
tree | bf11e40342f78ed8014d4a7a4185a6357ef88af5 /board/tqm5200/tqm5200.c | |
parent | c59200443072353044aa4bf737a5a60f9a9af231 (diff) | |
parent | 25721b5cec2be4bce79cfade17ec8f6aa1e67526 (diff) |
Merge with /home/tur/proj/uboot_linux_v38b/u-boot
Diffstat (limited to 'board/tqm5200/tqm5200.c')
-rw-r--r-- | board/tqm5200/tqm5200.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c index 1d81dce60..cb57a5e26 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 } |