diff options
author | Jimmy Rubin <ejimrub@steludxu031.lud.stericsson.com> | 2010-06-08 16:28:18 +0200 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2010-06-10 16:58:53 +0200 |
commit | e5e6dd7fe444b873d9113e2f4d716f63faf9ca70 (patch) | |
tree | 9e55121cdd05d2b48ef8d505d5cd3f530f97be1f /board/st/u8500/mcde_display.h | |
parent | d46a7e3528b5f86610ee388a18a9698a3d26e6fb (diff) |
Adding support for startup graphics
This patch does the following:
* Startup graphics only support for HREF+.
* Displays a logo last in the u-boot sequence before the kernel is booted.
* Informs the kernel not to display penguins.
* Added pmem values to bootargs.
ST Ericsson Change-ID: WP236570
Change-Id: Ib176c17a795ddd002e94344eb9c67739b1e2269e
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1048
Reviewed-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'board/st/u8500/mcde_display.h')
-rw-r--r-- | board/st/u8500/mcde_display.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/board/st/u8500/mcde_display.h b/board/st/u8500/mcde_display.h new file mode 100644 index 000000000..6941c044c --- /dev/null +++ b/board/st/u8500/mcde_display.h @@ -0,0 +1,38 @@ +/* +* Copyright (C) ST-Ericsson SA 2010 +* +* Author: Jimmy Rubin <jimmy.rubin@stericsson.com> +* for ST-Ericsson. +* +* License terms: GNU General Public License (GPL), version 2. +*/ +#ifndef __MCDE_DISPLAY_H +#define __MCDE_DISPLAY_H + +#include <common.h> +#include "mcde.h" + +extern int cpu_is_u8500v11(void); + +struct mcde_display_generic_platform_data { + /* Platform info */ + int reset_gpio; + int reset_delay; /* ms */ +}; + +struct mcde_display_device { + struct mcde_port *port; + enum mcde_chnl chnl_id; + enum mcde_fifo fifo; + enum mcde_ovly_pix_fmt default_pixel_format; + enum mcde_port_pix_fmt port_pixel_format; + u16 native_x_res; + u16 native_y_res; +}; + +int mcde_startup(void); +int mcde_display_image(void); + +#endif /* !defined(__MCDE_UTILS_H) */ + + |