]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: dm: Clean up cpu drivers
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Jun 2015 06:52:20 +0000 (14:52 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:15 +0000 (18:03 -0600)
commitbe3f06bcc47e04bfc5fb7c900958918e2d019ef4
tree849dbeb5c4de87adcbc5dd9cc63dc441cd3db8ad
parentcb5cbfd503d38bfe963ebd52da958563c636709d
x86: dm: Clean up cpu drivers

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.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/Makefile
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/cpu.c
arch/x86/cpu/cpu_x86.c [new file with mode: 0644]
arch/x86/include/asm/cpu.h
arch/x86/include/asm/cpu_x86.h [new file with mode: 0644]