[U-Boot] [PATCH] video: ct6900: Add an option to skip video initialization
Stefan Roese
sr at denx.de
Thu May 14 16:13:19 CEST 2009
On Thursday 14 May 2009 16:02:00 Wolfgang Denk wrote:
> > Then please let me know how this can be accomplished. The CPCI750 uses
> > the same U-Boot image both for the video-enabled CPCI-host version and
> > for the video-disabled CPCI-adapter version. The video driver is not
> > called from within the CPCI750 board files. It's called from
> > drivers/video/cfb_console.c.
>
> And who calls the code in drivers/video/cfb_console.c ? I think this
> is the drv_video_init() call in common/devices.c, right?
Yes.
> If this should be the highest level in the call chain, then any
> conditional calling should be done here.
OK, I can move the conditional calling to this level.
> But - don't we already have
> a board_video_init() which could return proper status to abort
> initialization?
This is only implemented for some video drivers (SM501, SED13806, MB826xx) to
return the base address for the graphics chip. The PCI drivers like the ct6900
don't use this interface. Here we have other means to get the base address.
I'll move the conditional calling to the highest level and resubmit.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list