1. 05 8月, 2015 1 次提交
  2. 15 7月, 2015 2 次提交
    • B
      x86: Move MP initialization codes into a common place · 6e6f4ce4
      Bin Meng 提交于
      Most of the MP initialization codes in arch/x86/cpu/baytrail/cpu.c is
      common to all x86 processors, except detect_num_cpus() which varies
      from cpu to cpu. Move these to arch/x86/cpu/cpu.c and implement the
      new 'get_count' method for baytrail and cpu_x86 drivers. Now we call
      cpu_get_count() in mp_init() to get the number of CPUs.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      6e6f4ce4
    • B
      x86: dm: Clean up cpu drivers · be3f06bc
      Bin Meng 提交于
      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: NBin Meng <bmeng.cn@gmail.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      be3f06bc
  3. 01 5月, 2015 1 次提交