53af877f | 06-Sep-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
compulab: eeprom: add support for obtaining product name
Introduce cl_eeprom_get_product_name() for obtaining product name from the eeprom.
Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <gri
compulab: eeprom: add support for obtaining product name
Introduce cl_eeprom_get_product_name() for obtaining product name from the eeprom.
Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
show more ...
|
e93e809f | 06-Sep-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
compulab: eeprom: propagate error value in read_mac_addr()
cl_eeprom_read_mac_addr() doesn't differentiate between success case and inability to access eeprom. Fix this by propagating the return val
compulab: eeprom: propagate error value in read_mac_addr()
cl_eeprom_read_mac_addr() doesn't differentiate between success case and inability to access eeprom. Fix this by propagating the return value of cl_eeprom_setup().
Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
show more ...
|
f82eb2fa | 14-Jan-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
common: convert compulab splash load code to common code
Move board/compulab/common/splash.c code to common/splash_source.c to make it available for everybody. This move renames cl_splash_screen_pre
common: convert compulab splash load code to common code
Move board/compulab/common/splash.c code to common/splash_source.c to make it available for everybody. This move renames cl_splash_screen_prepare() to splash_source_load(), and the compilation of this code is conditional on CONFIG_SPLASH_SOURCE.
splash_source features: * Provide a standardized way for declaring board specific splash screen locations * Provide existing routines for auto loading the splash image from the locations as declared by the board * Introduce the "splashsource" environment variable, which makes it possible to select the splash image source.
cm-t35 and cm-fx6 are updated to use the modified version.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Anatolij Gustschin <agust@denx.de> Reviewed-by: Tom Rini <trini@ti.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
show more ...
|
7e8d7f2a | 14-Jan-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
compulab: splash: support loading splash from sf
Add support for loading splash from sf.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> [grinberg@compulab.co.il: staticize the sf global var
compulab: splash: support loading splash from sf
Add support for loading splash from sf.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> [grinberg@compulab.co.il: staticize the sf global variable] Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il>
show more ...
|
fd29dd55 | 14-Jan-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
compulab: splash: support multiple splash sources
Define a generic way for boards to define splash image locations: - introduce struct splash_location - introduce enum splash_storage - update cl_spl
compulab: splash: support multiple splash sources
Define a generic way for boards to define splash image locations: - introduce struct splash_location - introduce enum splash_storage - update cl_splash_screen_prepare() to take an array of above struct and select the appropriate one based on the splashsource environment variable (if it is not defined- use the first splash location as default).
cm-t35 is updated to work with the new interface.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
show more ...
|
7be4cd2c | 14-Jan-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
compulab: splash: refactor splash.c
Move storage device specific code into its own function instead of calling it directly from an otherwise storage device independent function (cl_splash_screen_pre
compulab: splash: refactor splash.c
Move storage device specific code into its own function instead of calling it directly from an otherwise storage device independent function (cl_splash_screen_prepare).
This is a preparation for supporting multiple splash locations.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
show more ...
|
0b6f358c | 03-Nov-2014 |
Igor Grinberg <grinberg@compulab.co.il> |
omap3: cm-t35: move get_board_serial() fallback
The fallback is used for cases when CONFIG_SERIAL_TAG defined, but the eeprom is not used. The fallback is useful for more than one CompuLab board, so
omap3: cm-t35: move get_board_serial() fallback
The fallback is used for cases when CONFIG_SERIAL_TAG defined, but the eeprom is not used. The fallback is useful for more than one CompuLab board, so move it to a common location.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
show more ...
|
f4a40f05 | 03-Nov-2014 |
Igor Grinberg <grinberg@compulab.co.il> |
omap3: cm-t35: extract the splash code from board
The splash screen loading code can be reused by other compulab boards. For now extract it to a common location for further reuse.
This also switche
omap3: cm-t35: extract the splash code from board
The splash screen loading code can be reused by other compulab boards. For now extract it to a common location for further reuse.
This also switches the splash code dependency from CONFIG_LCD to CONFIG_SPLASH_SCREEN as it should normally be.
In addition this patch fixes the accidental dependency of the get_board_mem_timings() function on CONFIG_LCD, by just moving the splash code and leaving the above function intact.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
show more ...
|