[U-Boot] [PATCH 2/4] common/lcd_console: ask only one-time for bg/fg-color per call

Nikita Kiryanov nikita at compulab.co.il
Sun Mar 15 19:54:19 CET 2015


Hi Hannes,

On 03/11/2015 02:57 PM, Hannes Petermaier wrote:
> From: Hannes Petermaier <hannes.petermaier at br-automation.com>
>
> Don't call the lcd_getfgcolor and lcd_getbgcolor within the "draw-loop", this
> only wastes time.
>
> Signed-off-by: Hannes Petermaier <hannes.petermaier at br-automation.com>
> Signed-off-by: Hannes Petermaier <oe5hpm at oevsv.at>
> ---
>
>   common/lcd_console.c |    7 ++-----
>   1 file changed, 2 insertions(+), 5 deletions(-)

Acked-by: Nikita Kiryanov <nikita at compulab.co.il>

--
Regards,
Nikita Kiryanov


More information about the U-Boot mailing list