[U-Boot] [PATCH v2 3/9] x86: dm: Clean up cpu drivers

Simon Glass sjg at chromium.org
Sat Jun 13 01:03:38 CEST 2015


On 12 June 2015 at 00:52, Bin Meng <bmeng.cn at 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.cn at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  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

Applied to u-boot-x86.


More information about the U-Boot mailing list