From: Jeroen Hofstee Date: Tue, 22 Jan 2013 10:44:14 +0000 (+0000) Subject: api/api_display: use the getters for console size info X-Git-Tag: v2013.04-rc2~13^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fbd239bea7d0847495da57dcf03248c13040c763;p=u-boot api/api_display: use the getters for console size info cc: Che-Liang Chiou Acked-by: Che-Liang Chiou Signed-off-by: Jeroen Hofstee --- diff --git a/api/api_display.c b/api/api_display.c index 643917088f..c167db7b14 100644 --- a/api/api_display.c +++ b/api/api_display.c @@ -45,8 +45,8 @@ int display_get_info(int type, struct display_info *di) case DISPLAY_TYPE_LCD: di->pixel_width = panel_info.vl_col; di->pixel_height = panel_info.vl_row; - di->screen_rows = CONSOLE_ROWS; - di->screen_cols = CONSOLE_COLS; + di->screen_rows = lcd_get_screen_rows(); + di->screen_cols = lcd_get_screen_columns(); break; #endif }