On Mon, Feb 25, 2013 at 3:24 PM, Marek Vasut <ma...@denx.de> wrote: > +int print_cpuinfo(void) > +{ > + u32 cpurev; > + > + cpurev = get_cpu_rev(); > + printf("CPU: Freescale i.MX%x family rev%d.%d at %d MHz\n", > + (cpurev & 0xFF000) >> 12, > + (cpurev & 0x000F0) >> 4, > + (cpurev & 0x0000F) >> 0, > + mxc_get_clock(MXC_ARM_CLK) / 1000000); > + printf("Reset cause: %s\n", get_reset_cause()); > + return 0;
Do you need to define print_cpuinfo locally? I know I did the same on mx53loco, and the reason is that due to the PMIC I need to read the CPU frequency after the PMIC has raised the core voltage and bumped to 1GHz. I do not see PMIC definitions in this board, so you probably you can just remove this local definition and add #define CONFIG_DISPLAY_CPUINFO into your m53evk.h board instead. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot