On Sun, Jul 17, 2011 at 12:03:03AM +0200, Luka Perkov wrote: > Remove unnecessary printf and rename debug to printf.
Don't use previous patch. Use this one instead! printf's should be replaced with debug's just like they were before r27488. Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net > --- Index: package/uboot-lantiq/files/board/infineon/easy50712/danube.c =================================================================== --- package/uboot-lantiq/files/board/infineon/easy50712/danube.c (revision 27625) +++ package/uboot-lantiq/files/board/infineon/easy50712/danube.c (working copy) @@ -259,12 +259,12 @@ /* earlier no valid response is available, at least on Twinpass & Tantos @ 111MHz, M4530 platform */ udelay(100000); - printf("\nsearching for Samurai switch ... "); + debug("\nsearching for Samurai switch ... "); if ( (miiphy_read(name, PHYADDR(SAMURAI_ID_REG0), &chipid0)==0) && (miiphy_read(name, PHYADDR(SAMURAI_ID_REG1), &chipid1)==0) ) { if (((chipid0 & 0xFFF0) == ID_SAMURAI_0) && ((chipid1 & 0x000F) == ID_SAMURAI_1)) { - printf("found"); + debug("found"); /* enable "Crossover Auto Detect" + defaults */ /* P0 */ @@ -288,11 +288,10 @@ } } - printf("%04X %04x\n", chipid0, chipid1); - printf("\nsearching for TANTOS switch ... "); + debug("\nsearching for TANTOS switch ... "); if (miiphy_read(name, PHYADDR(0x101), &chipid0) == 0) { if (chipid0 == ID_TANTOS) { - printf("found"); + debug("found"); /* P5 Basic Control: Force Link Up */ miiphy_write(name, PHYADDR(0xA1), 0x0004); _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel