]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc: use 'video-mode' environment variable to configure DIU
authorTimur Tabi <timur@freescale.com>
Mon, 11 Apr 2011 19:18:22 +0000 (14:18 -0500)
committerAnatolij Gustschin <agust@denx.de>
Thu, 28 Apr 2011 19:31:16 +0000 (21:31 +0200)
commitba8e76bd49a0575a2442025507882b499856af2b
tree47b31be667a80b5149065e8d7d1f2d9040a4c628
parenta5dbdc81ea70daa04e49eb0004a0441131a029c6
powerpc: use 'video-mode' environment variable to configure DIU

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@freescale.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
README
arch/powerpc/cpu/mpc512x/diu.c
board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
board/freescale/p1022ds/diu.c
drivers/video/Makefile
drivers/video/fsl_diu_fb.c
include/configs/MPC8610HPCD.h
include/configs/P1022DS.h
include/configs/pdm360ng.h
include/fsl_diu_fb.h