[U-Boot-Users] [patch] 1.1.1: dbau1x00 - return correctly when CONFIG_IDE_PCMCIA is not set
Leif Lindholm
leif.lindholm at i3micro.com
Thu May 27 11:49:33 CEST 2004
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
diff -purN u-boot-1.1.1/board/dbau1x00/dbau1x00.c u-boot-1.1.1-new/board/dbau1x00/dbau1x00.c
--- u-boot-1.1.1/board/dbau1x00/dbau1x00.c 2004-01-04 23:51:12.000000000 +0100
+++ u-boot-1.1.1-new/board/dbau1x00/dbau1x00.c 2004-05-27 11:41:06.000000000 +0200
@@ -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
}
More information about the U-Boot
mailing list