From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 15 Jun 2011 10:56:11 +0300 Subject: [U-Boot] OMAP3 clocks initialization not consistent with x-loader? Message-ID: <4DF8659B.3050905@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, x-loader has the following comment and if statement for all boards supporting omap36xx SoC: ----------------------cut---------------------------------------- /* * On OMAP3630, DDR data corruption has been observed on OFF mode * exit if the sys clock was lower than 26M. As a work around, * OMAP3630 is operated at 26M sys clock and this internal division * is not performed. */ if((is_cpu_family() != CPU_OMAP36XX) && (sys_clkin_sel > 2)) { sr32(PRM_CLKSRC_CTRL, 6, 2, 2);/* input clock divider */ clk_index = sys_clkin_sel/2; } else { sr32(PRM_CLKSRC_CTRL, 6, 2, 1);/* input clock divider */ clk_index = sys_clkin_sel; } ----------------------cut---------------------------------------- U-Boot's omap3 clock initialization does not have that check for omap36xx. Shouldn't we have it also in U-Boot to workaround that DDR data corruption issue? -- Regards, Igor.