]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:22 +0000 (13:29 +0200)
commita4650bb31085c96fba380e43ce3680ae34175e03
treea28addd0b4f5b71bdee4acbe2df2d61c32d3e7c3
parenta9c2af4e3bc98283a12e995ef6d39f153539f4b8
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]