- 10 2月, 2015 2 次提交
-
-
由 Nikita Kiryanov 提交于
configuration_get_cmap() is multiple platform-specific functions stuffed into one function. Split it into multiple versions, and move each version to the appropriate driver to reduce the #ifdef complexity. Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NBo Shen <voice.shen@atmel.com> Tested-by: NJosh Wu <josh.wu@atmel.com> Cc: Bo Shen <voice.shen@atmel.com> Cc: Simon Glass <sjg@chromium.org> Cc: Anatolij Gustschin <agust@denx.de>
-
由 Nikita Kiryanov 提交于
common/lcd code is full of platform-specific code and definitions, which ideally should reside with the respective driver code. Take a step towards that goal by moving platform-specific structs from lcd.h to their own header files. The structs for the generic case (the #else for all the platform-specific cases) is retained in lcd.h as the default case. Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NBo Shen <voice.shen@atmel.com> Tested-by: NJosh Wu <josh.wu@atmel.com> Cc: Bo Shen <voice.shen@atmel.com> Cc: Simon Glass <sjg@chromium.org> Cc: Anatolij Gustschin <agust@denx.de>
-
- 11 1月, 2015 3 次提交
-
-
由 Nikita Kiryanov 提交于
common/lcd.c is a mix of code portions that do different but related things. To improve modularity, the various code portions should be split into their own modules. Separate lcd console code into its own file. Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Cc: Anatolij Gustschin <agust@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@wwwdotorg.org> Acked-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org>
-
由 Nikita Kiryanov 提交于
Introduce lcd_getbgcolor() and lcd_getfgcolor(), and use them where applicable. This is a preparatory step for extracting lcd console code into its own file. Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Cc: Anatolij Gustschin <agust@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Nikita Kiryanov 提交于
No one is using LCD_MONOCHROME; remove related code. Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Cc: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 13 11月, 2014 1 次提交
-
-
由 Nikita Kiryanov 提交于
mcc200 and prs200 are old and have no maintainer. Remove the boards. This also removes the mcc200 specific 1bpp BMP support from common/lcd.c Cc: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: York Sun <yorksun@freescale.com> Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il>
-
- 10 8月, 2014 2 次提交
-
-
由 Hannes Petermaier 提交于
This patch removes following two functions: - lcd_getbgcolor(...) not used somewhere outside lcd.c, internally we use now the global variable lcd_color_bg (was return value of function before) - lcd_getfgcolor(...) not used in any place of u-boot Signed-off-by: NHannes Petermaier <oe5hpm@oevsv.at> [agust: rebased] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Hannes Petermaier 提交于
- Adds support for 32-bit organized framebuffers to the LCD-framework. Signed-off-by: NHannes Petermaier <oe5hpm@oevsv.at> Cc: agust@denx.de
-
- 08 7月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
This board is old enough and has no maintainer. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 18 3月, 2014 1 次提交
-
-
由 Simon Glass 提交于
Add a simple LCD driver which uses SDL to display the image. We update the image regularly, while still providing for reasonable performance. Adjust the common lcd code to support sandbox. For command-line runs we do not want the LCD to be displayed, so add a --show_lcd option to enable it. Tested-by: NChe-Liang Chiou <clchiou@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 03 2月, 2014 1 次提交
-
-
由 Przemyslaw Marczak 提交于
Changes: - check image bpp instead of resolution when returns logo address - remove 32bpp logo - add 16bpp logo in two formats: bmp and gzipped bmp - init logo address with "0" for unsupported bpp mode - update boards configs with proper image size for gunzip - extend structure vidinfo by two fields: logo_x_offset and logo_y_offset. Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Tested-by: NHyungwon Hwang <human.hwang@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 15 10月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 02 7月, 2013 2 次提交
-
-
由 Robert Winkler 提交于
Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: NRobert Winkler <robert.winkler@boundarydevices.com> Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
-
由 Piotr Wilczek 提交于
When compressed image is loaded, it must be decompressed to an aligned address + 2 to avoid unaligned access exception on some ARM platforms. Signed-off-by: NPiotr Wilczek <p.wilczek@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> CC: Anatolij Gustschin <agust@denx.de> CC: Wolfgang Denk <wd@denx.de> Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 06 6月, 2013 1 次提交
-
-
由 Stephen Warren 提交于
simple-framebuffer is a new device tree binding that describes a pre- configured frame-buffer memory region and its format. The Linux kernel contains a driver that supports this binding. Implement functions to create a DT node (or fill in an existing node) with parameters that describe the framebuffer format that U-Boot is using. This will be immediately used by the Raspberry Pi board in U-Boot, and likely will be used by the Samsung ARM ChromeBook support soon too. It could well be used by many other boards (e.g. Tegra boards with built-in LCD panels, which aren't yet supported by the Linux kernel). Signed-off-by: NStephen Warren <swarren@wwwdotorg.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 27 3月, 2013 1 次提交
-
-
由 Ajay Kumar 提交于
Replaced the functionality of callbacks by using a standard set of functions. Instead of implementing and hooking up a callback, put the same code in one of the standard set of functions by overriding it. This patch is tested only on SMDK5250. For Trats and universal_c210 board, it is only compile tested. Signed-off-by: NAjay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 21 3月, 2013 5 次提交
-
-
由 Jeroen Hofstee 提交于
Hide the console macros since some reference global data which is no longer present. cc: Anatolij Gustschin <agust@denx.de> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
-
由 Jeroen Hofstee 提交于
- Make the brackets of the function calls more consistent - Remove really unnecessary brackets - Removes the extern from the function definitions - Remove curly brackets from single line statements - Remove lcd_setmem proto since it is already in common.h - Cleanup comments, remove useless comments - Remove NOT_USED_SO_FAR ifdef - Cleanup coding style cc: Anatolij Gustschin <agust@denx.de> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> [agust: rebased the original patch] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Jeroen Hofstee 提交于
lcd_base is available as gd->fb_base as well, there is no need to keep a seperate copy. For completeness the ack of Bo Shen is for the atmel part. Cc: Alessandro Rubini <rubini@unipv.it> Cc: Anatolij Gustschin <agust@denx.de> Cc: Bo Shen <voice.shen@atmel.com> Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Stelian Pop <stelian@popies.net> Cc: Tom Warren <twarren@nvidia.com> Acked-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> [agust: also fix cm_t35 board while rebasing] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Jeroen Hofstee 提交于
console_col, console_row, lcd_line_length, lcd_console_address had to be declared in board / driver specific code, but were not actually used there on many boards. Get rid of the global variables. for completeness, the ack of Bo Shen is for the atmel part Cc: Alessandro Rubini <rubini@unipv.it> Cc: Anatolij Gustschin <agust@denx.de> Cc: Bo Shen <voice.shen@atmel.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Stelian Pop <stelian@popies.net> Cc: Tom Warren <twarren@nvidia.com> Acked-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> [agust: rebased and fixed cm_t35 board] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Wolfgang Denk 提交于
lcd_color_fg and lcd_color_bg had to be declared in board specific code, but were not actually used there; in addition, we have getter / setter functions for these, which were not used either. Get rid of the global variables, and use the getter function where needed (so far no setter calls are needed). Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Alessandro Rubini <rubini@unipv.it> Cc: Anatolij Gustschin <agust@denx.de> Cc: Bo Shen <voice.shen@atmel.com> Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Stelian Pop <stelian@popies.net> Cc: Tom Warren <twarren@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org> Acked-by: NJeroen Hofstee <jeroen@myspectrum.nl> [agust: also fixed cm_t35 board while rebasing] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 09 3月, 2013 1 次提交
-
-
由 Nikita Kiryanov 提交于
Currently there is no logical place to put the code that prepares the splash image data. The splash image data should be ready in memory before bmp_display() is called, and after the environment is ready (since lcd.c looks for the splash image in an address specified by the environment variable "splashimage"). Our window of opportunity in board_init_r() is therefore: between env_relocate() and bmp_display(), and from the available options only the lcd related functions in drv_lcd_init() seem appropriate for such lcd oriented code. Add the option to prepare the splash image data in lcd_logo() right before it is sent to be displayed. Cc: Anatolij Gustschin <agust@denx.de> Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
-
- 19 11月, 2012 2 次提交
-
-
由 Simon Glass 提交于
This provides an option for the LCD to flush the dcache after each update (puts, scroll or clear). Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Warren <twarren@nvidia.com>
-
由 Simon Glass 提交于
The normal alignment is PAGE_SIZE, but if this is defined, we can support other alignments. The motivation for this change is to make the display section-aligned on ARM so that we can easily turn off data caching for the frame buffer region without resorting to level 2 page tables. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Warren <twarren@nvidia.com>
-
- 07 11月, 2012 1 次提交
-
-
由 Vadim Bendebury 提交于
Create a basic API to provide access to lcd parameters such as screen size, and to position the cursor on the screen. This matches up with the video API for the same purpose. Unfortunately they are not yet combined. Signed-off-by: NVadim Bendebury <vbendeb@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 01 9月, 2012 1 次提交
-
-
由 Donghwa Lee 提交于
To support display port in exynos fb driver, added dp_enabled variable in vidinfo structure that set in board file. Signed-off-by: NDonghwa Lee <dh09.lee@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 05 6月, 2012 1 次提交
-
-
由 Bo Shen 提交于
The new Atmel SoC (at91sam9x5 series and at91sam9n12) add a totally different LCD controller. Add this new driver to support it. Using CONFIG_ATMEL_HLCD (distinguish with CONFIG_ATMEL_LCD) to enable this in board configuration file. Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 25 5月, 2012 2 次提交
-
-
由 Donghwa Lee 提交于
This patch supports drawing 32bpp bitmap TIZEN logo in exynos fb. "tizen_hd_logo.h" data is compressed from trats_logo.bmp to trats_logo.bmp.gz by gzip and converted to tizen_hd_logo.h header file format by some application. The logo data is decompressed in the exynos fb driver by bmp_display(). Signed-off-by: NDonghwa Lee <dh09.lee@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Acked-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Anatolij Gustschin 提交于
Currently bmp_display() is static and can not be used directly in the driver or board code. Export it for other users. Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 15 5月, 2012 1 次提交
-
-
由 Donghwa Lee 提交于
Add vidinfo data structure for EXYNOS display driver Signed-off-by: NDonghwa Lee <dh09.lee@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NInki Dae <inki.dae@samsung.com> Acked-by: NAnatolij Gustschin <agust@denx.de>
-
- 07 12月, 2011 1 次提交
-
-
由 Marek Vasut 提交于
Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
-
- 16 11月, 2011 1 次提交
-
-
由 Che-Liang Chiou 提交于
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: NChe-Liang Chiou <clchiou@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 28 10月, 2011 1 次提交
-
-
由 Marek Vasut 提交于
lcd.c: In function 'lcd_setmem': lcd.c:446:2: warning: format '%d' expects type 'int', but argument 2 has type 'u_long' lcd.c:446:2: warning: format '%d' expects type 'int', but argument 3 has type 'u_long' Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
-
- 25 9月, 2010 1 次提交
-
-
由 Alexander Stein 提交于
Signed-off-by: NAlexander Stein <alexander.stein@systec-electronic.com>
-
- 15 7月, 2010 1 次提交
-
-
由 Marek Vasut 提交于
-
- 26 7月, 2009 3 次提交
-
-
由 Alessandro Rubini 提交于
include/lcd.h has different vidinfo for different platforms, and several extern declaration, but one for the default case was missing. This makes them a single extern declaration for everyone. Signed-off-by: NAlessandro Rubini <rubini@gnudd.com>
-
由 Mark Jackson 提交于
This patch adds support for LCD_COLOR16 in include/lcd.h. Signed-off-by: NMark Jackson <mpfj@mimc.co.uk>
-
由 Alessandro Rubini 提交于
This moves some extern declaration from lcd.c to lcd.h, removing unneeded ifdef around a pair of them. Additionally, since gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I removed the static. The extra "#include <lcd.h>" in cmd_bmp.c is added to ensure the header is consistent with the source. This has been compile-tested on both ARM (at91 boards) and PowerPC (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use combinations. Signed-off-by: NAlessandro Rubini <rubini@gnudd.it> [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 24 2月, 2009 1 次提交
-
-
由 Guennadi Liakhovetski 提交于
This patch also simplifies some ifdefs in lcd.c, introduces a generic vidinfo_t, which new drivers are encouraged to use and old drivers to switch over to. Signed-off-by: NGuennadi Liakhovetski <lg@denx.de> Acked-by: NAnatolij Gustschin <agust@denx.de>
-