[U-Boot] [PATCH v5] powerpc: use 'video-mode' environment variable to configure DIU

Anatolij Gustschin agust at denx.de
Thu Apr 28 22:11:56 CEST 2011


On Thu, 28 Apr 2011 10:48:47 +0200
Anatolij Gustschin <agust at denx.de> wrote:

> From: Timur Tabi <timur at freescale.com>
> 
> Use the 'video-mode' environment variable (for Freescale chips that have a
> DIU display controller) to designate the full video configuration.  Previously,
> the DIU driver used the 'monitor' variable, and it was used only to determine
> the output video port.
> 
> The old definition of the "monitor" environment variable only determines
> which video port to use for output.  This variable was set to a number (0,
> 1, or sometimes 2) to specify a DVI, LVDS, or Dual-LVDS port.  The
> resolution was hard-coded into board-specific code.  The Linux command-line
> arguments needed to be hard-coded to the proper video definition string.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
...
>  README                                        |   11 +-
>  arch/powerpc/cpu/mpc512x/diu.c                |   16 +-
>  board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c |   73 ++--
>  board/freescale/p1022ds/diu.c                 |   27 +-
>  drivers/video/Makefile                        |    2 +-
>  drivers/video/fsl_diu_fb.c                    |  530 +++++++++++--------------
>  include/configs/MPC8610HPCD.h                 |   10 +-
>  include/configs/P1022DS.h                     |    8 +-
>  include/configs/pdm360ng.h                    |    2 -
>  include/fsl_diu_fb.h                          |   43 +--
>  10 files changed, 294 insertions(+), 428 deletions(-)

applied to u-boot-video/master.

Anatolij


More information about the U-Boot mailing list