1.1.1: dbau1x00 - return correctly when CONFIG_IDE_PCMCIA is not set
PATCH 1/1 1.1.1: dbau1x00 - return correctly when CONFIG_IDE_PCMCIA is not set
Hi
A misplaced #endif caused checkboard() not to explicitly return if CONFIG_IDE_PCMCIA was not set in config. This caused board_init_f() to hang().
regards
/ Leif
board/dbau1x00/dbau1x00.c 2004-05-27 11:41:06.000000000 +0200 renamed from board/dbau1x00/dbau1x00.c 2004-01-04 23:51:12.000000000 +0100 +1 -1
@@ -110,11 +110,11 @@ int checkboard (void) CFG_PCMCIA_MEM_ADDR, /* Hi */ 0x3E000017, /* Lo0 */ 0x3E200017); /* Lo1 */ +#endif /* Release reset of ethernet PHY chips */ /* Always do this, because linux does not know about it */ *phy = 3; return 0; -#endif }
PATCH 1/1 1.1.1: dbau1x00 - return correctly when CONFIG_IDE_PCMCIA is not set
Quoted 4 lines · In message <1085651373.11138.10.camel@fortress> you wrote:
A misplaced #endif caused
checkboard()not to explicitly return ifCONFIG_IDE_PCMCIAwas not set in config. This causedboard_init_f()tohang().
Added, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Business is like a wheelbarrow. Nothing ever happens until you start pushing.