From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 23 Apr 2014 15:35:40 -0700 Subject: [U-Boot] [PATCH] powerpc/85xx: Enhance get_sys_info() to check clocking mode In-Reply-To: <1397541852-15249-1-git-send-email-vijay.rai@freescale.com> References: <1397541852-15249-1-git-send-email-vijay.rai@freescale.com> Message-ID: <5358403C.2060902@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/14/2014 11:04 PM, Vijay Rai wrote: > T1040 and it's variants provide "Single Oscillator Source" Reference Clock Mode. > > In this mode, single onboard oscillator(DIFF_SYSCLK) can provide the reference clock > (100MHz) to the following PLLs: > ? Platform PLL > ? Core PLLs > ? USB PLL > ? DDR PLL, etc > > The cfg_eng_use0 of porsr1 register identifies whether the SYSCLK (single-ended) or > DIFF_SYSCLK (differential) is selected as the clock input to the chip. > > get_sys_info has been enhanced to add the diff_sysclk so that the > various drivers can be made aware of ths diff sysclk configuration and > act accordingly. > > Other changes: > -single_src to ddr_refclk_sel, as it is use for checking ddr reference clock > -Removed the print of single_src from get_sys_info as this will be > -printed whenever somebody calls get_sys_info which is not appropriate. > -Add print of single_src in checkcpu as it is called only once during initialization > > Signed-off-by: Poonam Aggrwal > Signed-off-by: Priyanka Jain > Signed-off-by: Vijay Rai > --- Applied to u-boot-mpc85xx/master, thanks. York