From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 28 Apr 2011 22:11:56 +0200 Subject: [U-Boot] [PATCH v5] powerpc: use 'video-mode' environment variable to configure DIU In-Reply-To: <1303980527-1879-1-git-send-email-agust@denx.de> References: <1302549502-21684-1-git-send-email-timur@freescale.com> <1303980527-1879-1-git-send-email-agust@denx.de> Message-ID: <20110428221156.57543b87@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 28 Apr 2011 10:48:47 +0200 Anatolij Gustschin wrote: > From: Timur Tabi > > 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 > Signed-off-by: Anatolij Gustschin > --- ... > 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