[PATCH v7 11/17] x86: apl: Add a CPU driver

Bin Meng bmeng.cn at gmail.com
Sun Dec 15 01:43:30 CET 2019


On Mon, Dec 9, 2019 at 8:41 AM Simon Glass <sjg at chromium.org> wrote:
>
> Add a bare-bones CPU driver so that CPUs can be probed.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v7: None
> Changes in v6:
> - Drop unnecessary priv struct and probe method
> - Make BOOT_FROM_FAST_SPI_FLASH a Kconfig option
>
> Changes in v5:
> - Add L2 cache flush function
> - Drop SAFETY_MARGIN
>
> Changes in v4:
> - Change apollolake to apl
> - Tidy up header guards
>
> Changes in v3:
> - Add two more defines for the CPU driver
> - Expand comments for BOOT_FROM_FAST_SPI_FLASH
>
> Changes in v2: None
>
>  arch/x86/cpu/apollolake/Makefile           |  2 ++
>  arch/x86/cpu/apollolake/cpu.c              | 41 ++++++++++++++++++++++
>  arch/x86/cpu/apollolake/cpu_common.c       | 17 +++++++++
>  arch/x86/include/asm/arch-apollolake/cpu.h | 20 +++++++++++
>  arch/x86/include/asm/msr-index.h           |  1 +
>  5 files changed, 81 insertions(+)
>  create mode 100644 arch/x86/cpu/apollolake/cpu.c
>  create mode 100644 arch/x86/cpu/apollolake/cpu_common.c
>  create mode 100644 arch/x86/include/asm/arch-apollolake/cpu.h
>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list