mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
TQM5200: fix default IDE reset level
Before the first call of ide_reset(), the 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 signal only on demand, and not permanently. Signed-off-by: Martin Krause <martin.krause@tqs.de>
This commit is contained in:
parent
c61e033d6e
commit
8f2a68a07c
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
/* by default the ATA reset is de-asserted */
|
||||
*(vu_long *) MPC5XXX_WU_GPIO_DATA_O |= GPIO_PSC1_4;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue