From: Jeroen Hofstee <jeroen@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 02/10] lcd, tegra: remove unused cursor functions
Date: Sat, 12 Jan 2013 23:17:01 +0100 [thread overview]
Message-ID: <50F1E0DD.6070408@myspectrum.nl> (raw)
In-Reply-To: <1358028480-4979-3-git-send-email-jeroen@myspectrum.nl>
I wrote down your mail address wrongly here. I will fix it in v2,
awaiting other comments.
On 01/12/2013 11:07 PM, Jeroen Hofstee wrote:
> cc: Anatolij Gustschin <agust@denx.de>
> cc: Simon Glass <sjg.chromium.org>
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
> ---
> drivers/video/tegra.c | 52 -------------------------------------------------
> 1 file changed, 52 deletions(-)
>
> diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c
> index 3709d0b..26a96a5 100644
> --- a/drivers/video/tegra.c
> +++ b/drivers/video/tegra.c
> @@ -73,62 +73,10 @@ vidinfo_t panel_info = {
> .vl_col = -1,
> };
>
> -char lcd_cursor_enabled;
> -
> -ushort lcd_cursor_width;
> -ushort lcd_cursor_height;
> -
> #ifndef CONFIG_OF_CONTROL
> #error "You must enable CONFIG_OF_CONTROL to get Tegra LCD support"
> #endif
>
> -void lcd_cursor_size(ushort width, ushort height)
> -{
> - lcd_cursor_width = width;
> - lcd_cursor_height = height;
> -}
> -
> -void lcd_toggle_cursor(void)
> -{
> - ushort x, y;
> - uchar *dest;
> - ushort row;
> -
> - x = console_col * lcd_cursor_width;
> - y = console_row * lcd_cursor_height;
> - dest = (uchar *)(lcd_base + y * lcd_line_length + x * (1 << LCD_BPP) /
> - 8);
> -
> - for (row = 0; row < lcd_cursor_height; ++row, dest += lcd_line_length) {
> - ushort *d = (ushort *)dest;
> - ushort color;
> - int i;
> -
> - for (i = 0; i < lcd_cursor_width; ++i) {
> - color = *d;
> - color ^= lcd_getfgcolor();
> - *d = color;
> - ++d;
> - }
> - }
> -}
> -
> -void lcd_cursor_on(void)
> -{
> - lcd_cursor_enabled = 1;
> - lcd_toggle_cursor();
> -}
> -void lcd_cursor_off(void)
> -{
> - lcd_cursor_enabled = 0;
> - lcd_toggle_cursor();
> -}
> -
> -char lcd_is_cursor_enabled(void)
> -{
> - return lcd_cursor_enabled;
> -}
> -
> static void update_panel_size(struct fdt_disp_config *config)
> {
> panel_info.vl_col = config->width;
next prev parent reply other threads:[~2013-01-12 22:17 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 22:07 [U-Boot] [PATCH 00/10] common.lcd: remove globals and cleanup Jeroen Hofstee
2013-01-12 22:07 ` [U-Boot] [PATCH 01/10] lcd, amba: remove this frame buffer driver since it is not used Jeroen Hofstee
2013-01-13 16:15 ` Alessandro Rubini
2013-01-12 22:07 ` [U-Boot] [PATCH 02/10] lcd, tegra: remove unused cursor functions Jeroen Hofstee
2013-01-12 22:17 ` Jeroen Hofstee [this message]
2013-01-25 20:38 ` Simon Glass
2013-01-25 21:18 ` Tom Warren
2013-01-26 16:20 ` Jeroen Hofstee
2013-01-28 16:19 ` Tom Warren
2013-01-12 22:07 ` [U-Boot] [PATCH 03/10] lcd, mpc8xx: move the mpc8xx frame buffer driver to drivers/video Jeroen Hofstee
2013-01-12 22:07 ` [U-Boot] [PATCH 04/10] lcd, pxafb: move the pxafb " Jeroen Hofstee
2013-01-13 0:37 ` Marek Vasut
2013-01-12 22:07 ` [U-Boot] [PATCH 05/10] common/lcd.c: cleanup use of global variables Jeroen Hofstee
2013-01-16 1:23 ` Bo Shen
2013-01-12 22:07 ` [U-Boot] [PATCH 06/10] common/lcd.c: remove global lcd_base Jeroen Hofstee
2013-01-16 1:24 ` Bo Shen
2013-01-12 22:07 ` [U-Boot] [PATCH 07/10] common/lcd: cosmetic: clean up a bit Jeroen Hofstee
2013-03-29 11:04 ` Anatolij Gustschin
2013-01-12 22:07 ` [U-Boot] [PATCH 08/10] lcd, fb: cleanup, remove prototypes already in lcd.h and unused code Jeroen Hofstee
2013-01-12 22:07 ` [U-Boot] [PATCH 09/10] api/api_display: use the getters for console size info Jeroen Hofstee
2013-01-15 18:14 ` Che-liang Chiou
2013-01-12 22:07 ` [U-Boot] [PATCH 10/10] common/lcd.c: move the macro's to the c file Jeroen Hofstee
2013-03-29 11:05 ` Anatolij Gustschin
2013-01-22 20:44 ` [U-Boot] [PATCH v2 00/10] common.lcd: remove globals and cleanup Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 01/10] lcd, amba: remove this driver since it is not used Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 02/10] lcd, tegra: remove unused cursor functions Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 03/10] lcd, mpc8xx: move the mpc8xx driver to drivers/video Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 04/10] lcd, pxafb: move the pxafb " Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 05/10] common/lcd.c: cleanup use of global variables Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 06/10] common/lcd.c: remove global lcd_base Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 08/10] lcd, fb: remove duplicated prototypes and unused code Jeroen Hofstee
2013-01-22 20:44 ` [U-Boot] [PATCH v2 09/10] api/api_display: use the getters for console size info Jeroen Hofstee
2013-03-29 11:03 ` [U-Boot] [PATCH v2 00/10] common.lcd: remove globals and cleanup Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F1E0DD.6070408@myspectrum.nl \
--to=jeroen@myspectrum.nl \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.