Bevore the first call of ide_reset() the default level of the IDE reset signal on the TQM5200 is low (reset asserted). This patch sets the default value to high (reset not asserted).
Currently this patch fixes no real problem, but it is cleaner to assert the reset only on demand, and not permanently. Signed-off-by: Martin Krause <[EMAIL PROTECTED]> --- board/tqm5200/tqm5200.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c index e67145e..3715267 100644 --- a/board/tqm5200/tqm5200.c +++ b/board/tqm5200/tqm5200.c @@ -316,6 +316,9 @@ void init_ide_reset (void) /* Configure PSC1_4 as GPIO output for ATA reset */ *(vu_long *) MPC5XXX_WU_GPIO_ENABLE |= GPIO_PSC1_4; *(vu_long *) MPC5XXX_WU_GPIO_DIR |= GPIO_PSC1_4; + + /* per default the ATA reset is de-asserted */ + *(vu_long *) MPC5XXX_WU_GPIO_DATA_O |= GPIO_PSC1_4; #endif } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users