TQM5200: fix default IDE reset level
PATCH 1/1 TQM5200: fix default IDE reset level
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(-)
board/tqm5200/tqm5200.c +3 -0
@@ -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 }
Wolfgang Denk
AppliedPATCH 1/1 TQM5200: fix default IDE reset level
Quoted 4 lines · In message <[email protected]> you wrote:
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).
Quoted 8 lines
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(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Chapter 1 -- The story so far: In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.