From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 15 Dec 2019 08:43:30 +0800 Subject: [PATCH v7 11/17] x86: apl: Add a CPU driver In-Reply-To: <20191208173929.v7.11.I3ab6feed62041d8a76e07d47088ce214b8460156@changeid> References: <20191208173929.v7.4.I5ba86662e42269ac50c05b6db34832a966dad79a@changeid> <20191208173929.v7.11.I3ab6feed62041d8a76e07d47088ce214b8460156@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Dec 9, 2019 at 8:41 AM Simon Glass wrote: > > Add a bare-bones CPU driver so that CPUs can be probed. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > 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!