From: Detlev Zundel Date: Wed, 22 Sep 2010 17:33:35 +0200 Subject: [U-Boot] [PATCH] p1022ds: add video support In-Reply-To: <1285168585.4843.16.camel@oslab-l1> (York Sun's message of "Wed, 22 Sep 2010 08:16:25 -0700") References: <1283459719-23354-1-git-send-email-timur@freescale.com> <20100921235628.580f1a4a@wker> <4C992AF3.5030001@freescale.com> <20100922005700.499ce44d@wker> <4C99393F.8010301@freescale.com> <4C9A1C60.5070007@freescale.com> <1285168585.4843.16.camel@oslab-l1> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > On Wed, 2010-09-22 at 10:10 -0500, Timur Tabi wrote: >> > Is there a technical reason why the initialization has to be in U-Boot? >> >> I'll have to re-examine the code. There may be a way to eliminate any such >> initialization. >> > There is a technical reason. The DIU driver needs initialize DVI encoder > which is on I2C bus. Linux kernel starts to use console device long > before I2C is available. So it has to be done in U-boot. Ok, then why not always define CONFIG_VIDEO for this configuration and let U-Boot initialize _and_ use it? Actually I fail to see why U-Boot shouldn't use it if the support is there or what am I missing? Best wishes Detlev -- "Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we." -- George W. Bush during a defense bill ceremony on 5. Aug 2004 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de