Re: [U-Boot] [PATCH 3/5] lcd: Call lcd_sync() after completing the scroll

2015-04-22 Thread Simon Glass
Hi, On 19 April 2015 at 07:21, Simon Glass wrote: > On sandbox, if you add a printf() to malloc() for debugging, the output will > eventually cause the screen to scroll. Since lcd_sync() calls SDL functions > which allocate memory, and this happens before we have updated > console_curr_row, U-Boo

[U-Boot] [PATCH 3/5] lcd: Call lcd_sync() after completing the scroll

2015-04-19 Thread Simon Glass
On sandbox, if you add a printf() to malloc() for debugging, the output will eventually cause the screen to scroll. Since lcd_sync() calls SDL functions which allocate memory, and this happens before we have updated console_curr_row, U-Boot gets locked in an infinite loop. Flip the order of the tw