Hello.
I am confused how to display the IFC frequency on the T1020 board.(Blue letter below)
CPU0: T1020, Version: 1.1, (0x85210011)
Core: e5500, Version: 2.1, (0x80241021)
Single Source Clock Configuration
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz,
CCB:600 MHz,
DDR:800 MHz (1600 MT/s data rate) (Asynchronous), IFC:300 MHz
........
SDK1.7 and SDK2.0 display methods are different. Which one is more correct?
1) SDK 1.7 uboot
#if defined(CONFIG_FSL_IFC)
ccr = in_be32(&ifc_regs->ifc_ccr);
ccr = ((ccr & IFC_CCR_CLK_DIV_MASK) >> IFC_CCR_CLK_DIV_SHIFT) + 1;
sys_info->freq_localbus = sys_info->freq_systembus / ccr;
#endif
2) SDK 2.0 uboot
sys_info->freq_localbus = sys_info->freq_systembus / CONFIG_SYS_FSL_IFC_CLK_DIV;
Best regard.