On 9 June 2015 at 01:45, Bin Meng <bmeng...@gmail.com> wrote: > This commit does the following to clean up x86 cpu dm drivers: > - Move cpu_x86 driver codes from arch/x86/cpu/cpu.c to a dedicated > file arch/x86/cpu/cpu_x86.c > - Rename x86_cpu_get_desc() to cpu_x86_get_desc() to keep consistent > naming with other dm drivers > - Add a new cpu_x86_bind() in the cpu_x86 driver which does exactly > the same as the one in the intel baytrail cpu driver > - Update intel baytrail cpu driver to use cpu_x86_get_desc() and > cpu_x86_bind() > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > --- > > arch/x86/cpu/Makefile | 2 +- > arch/x86/cpu/baytrail/cpu.c | 15 +++---------- > arch/x86/cpu/cpu.c | 28 ------------------------ > arch/x86/cpu/cpu_x86.c | 48 > ++++++++++++++++++++++++++++++++++++++++++ > arch/x86/include/asm/cpu.h | 14 ------------ > arch/x86/include/asm/cpu_x86.h | 34 ++++++++++++++++++++++++++++++ > 6 files changed, 86 insertions(+), 55 deletions(-) > create mode 100644 arch/x86/cpu/cpu_x86.c > create mode 100644 arch/x86/include/asm/cpu_x86.h
Acked-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot