mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	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 <poonam.aggrwal@freescale.com> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by: Vijay Rai <vijay.rai@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			701 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			701 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Copyright 2003 Motorola,Inc.
 | 
						|
 * Xianghua Xiao(x.xiao@motorola.com)
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef	__E500_H__
 | 
						|
#define __E500_H__
 | 
						|
 | 
						|
#ifndef __ASSEMBLY__
 | 
						|
 | 
						|
typedef struct
 | 
						|
{
 | 
						|
	unsigned long freq_processor[CONFIG_MAX_CPUS];
 | 
						|
	unsigned long freq_systembus;
 | 
						|
	unsigned long freq_ddrbus;
 | 
						|
	unsigned long freq_localbus;
 | 
						|
	unsigned long freq_qe;
 | 
						|
#ifdef CONFIG_SYS_DPAA_FMAN
 | 
						|
	unsigned long freq_fman[CONFIG_SYS_NUM_FMAN];
 | 
						|
#endif
 | 
						|
#ifdef CONFIG_SYS_DPAA_QBMAN
 | 
						|
	unsigned long freq_qman;
 | 
						|
#endif
 | 
						|
#ifdef CONFIG_SYS_DPAA_PME
 | 
						|
	unsigned long freq_pme;
 | 
						|
#endif
 | 
						|
#ifdef CONFIG_SYS_FSL_SINGLE_SOURCE_CLK
 | 
						|
	unsigned char diff_sysclk;
 | 
						|
#endif
 | 
						|
} MPC85xx_SYS_INFO;
 | 
						|
 | 
						|
#endif  /* _ASMLANGUAGE */
 | 
						|
 | 
						|
#define RESET_VECTOR	0xfffffffc
 | 
						|
 | 
						|
#endif	/* __E500_H__ */
 |