From: Sascha Hauer Date: Mon, 23 Feb 2009 11:56:46 +0100 Subject: [U-Boot] [PATCH] i.MX31: fir imx31_phycore to work after Linux reboot In-Reply-To: <20090221213233.E7E93832E43F@gemini.denx.de> References: <20090206124510.4D9D58322908@gemini.denx.de> <20090221213233.E7E93832E43F@gemini.denx.de> Message-ID: <20090223105645.GE21900@pengutronix.de> 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 Sat, Feb 21, 2009 at 10:32:33PM +0100, Wolfgang Denk wrote: > Dear Guennadi Liakhovetski, > > In message you wrote: > > > > > In message you wrote: > > > > Upon power on i.MX31 enables most peripheral clocks, Linux disables the ones > > > > > > Why does U-Boot do that? > > > > i.MX31 does that - the CPU, not U-Boot. I.e., this is the default power-on > > mode. > > Yea, but U-Boot performs h/w initialization. So why does it not - like > Linux - set sane defaults (with only the necessary clocks enabled) ? I simply forgot it. The clock registers do not get resetted on reset, only on power up. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |