all superh boards hit this warning for me: Configuring for sh7763rdp board... time.c: In function 'get_ticks': time.c:111:16: warning: variable 'ticks' set but not used [-Wunused-but-set- variable]
and indeed, looking at the code, ticks is set but not used. not sure if bug (ticks should be used), or just delete the variable ... unsigned long long get_ticks (void) { unsigned long tcnt = 0 - readl(TCNT0); unsigned long ticks; if (last_tcnt > tcnt) { /* overflow */ overflow_ticks++; ticks = (0xffffffff - last_tcnt) + tcnt; } else { ticks = tcnt; } last_tcnt = tcnt; return (overflow_ticks << 32) | tcnt; } -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot