diff options
author | wdenk <wdenk> | 2004-03-14 14:09:05 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-03-14 14:09:05 +0000 |
commit | 4d13cbad1c81ad7901151fec381bae8c30f4338a (patch) | |
tree | ecb8e4694a7a8ddea27f9f6838c61393cbd4c12b /board/icecube | |
parent | c3f9d4939af90eb8e30119601c86c05bde6c7345 (diff) | |
download | u-boot-midas-4d13cbad1c81ad7901151fec381bae8c30f4338a.tar.gz u-boot-midas-4d13cbad1c81ad7901151fec381bae8c30f4338a.tar.bz2 u-boot-midas-4d13cbad1c81ad7901151fec381bae8c30f4338a.zip |
* Patch by Tolunay Orkun, 5 Mar 2004:
Fix early board initialization for Cogent CSB272 board
* Patch by Ed Okerson, 3 Mar 2004:
fix CFI flash writes for little endian systems
* Patch by Reinhard Meyer, 01 Mar 2004:
generalize USB and IDE support for MPC5200 with according
changes to IceCube.h and TOP5200.h
add Am29LV256 256 MBit FLASH support for TOP5200 boards
add info about USB and IDE to README
Diffstat (limited to 'board/icecube')
-rw-r--r-- | board/icecube/icecube.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c index 0a4bed49c9..d2fda90c99 100644 --- a/board/icecube/icecube.c +++ b/board/icecube/icecube.c @@ -210,25 +210,25 @@ void pci_init_board(void) #if defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) -#define GPIO_PSC1_4 0x01000000ul +#define GPIO_PSC1_4 0x01000000UL void init_ide_reset (void) { - printf ("init_ide_reset\n"); + debug ("init_ide_reset\n"); /* Configure PSC1_4 as GPIO output for ATA reset */ - *(vu_long *) MPC5XXX_WU_GPIO_DATA |= GPIO_PSC1_4; *(vu_long *) MPC5XXX_WU_GPIO_ENABLE |= GPIO_PSC1_4; - *(vu_long *) MPC5XXX_WU_GPIO_DIR |= GPIO_PSC1_4; + *(vu_long *) MPC5XXX_WU_GPIO_DIR |= GPIO_PSC1_4; } void ide_set_reset (int idereset) { - printf ("ide_reset(%d)\n", idereset); + debug ("ide_reset(%d)\n", idereset); + if (idereset) { *(vu_long *) MPC5XXX_WU_GPIO_DATA &= ~GPIO_PSC1_4; } else { - *(vu_long *) MPC5XXX_WU_GPIO_DATA |= GPIO_PSC1_4; + *(vu_long *) MPC5XXX_WU_GPIO_DATA |= GPIO_PSC1_4; } } #endif /* defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) */ |