
15 Jan
2012
15 Jan
'12
2:42 a.m.
On Saturday 14 January 2012 19:47:24 Simon Glass wrote:
--- a/common/cmd_echo.c +++ b/common/cmd_echo.c @@ -44,8 +44,9 @@ int do_echo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) } }
- /* Use puts() so that the LCD sees it as a new line */ if (putnl)
putc('\n');
puts("\n");
return 0;
}
this sounds like a hack for a broken LCD core and so the fix should be somewhere in there
--- a/common/lcd.c +++ b/common/lcd.c
+static char lcd_flush_dcache;
seems like it'd be better as a CONFIG knob
- /*
* flush_dcache_range() is declared in common.h but it seems that some
* architectures do not actually implement it. Is there a way to find
* out whether it exists? For now, ARM is safe.
*/
if those arches don't implement this func, then the failure is on their head. people should feel free to use the cache api we expose in common.h. -mike