projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e72972
)
api/api_display: use the getters for console size info
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Tue, 22 Jan 2013 10:44:14 +0000
(10:44 +0000)
committer
Anatolij Gustschin
<agust@denx.de>
Thu, 21 Mar 2013 09:37:15 +0000
(10:37 +0100)
cc: Che-Liang Chiou <clchiou@chromium.org>
Acked-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
api/api_display.c
patch
|
blob
|
history
diff --git
a/api/api_display.c
b/api/api_display.c
index 643917088f9b74135b6b8efd4276bc494437e28b..c167db7b14849cd5de3125280291889006dc17cf 100644
(file)
--- 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
}