From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 11:30:58 +0800 Subject: [PATCH v6 052/102] x86: Add support for newer CAR schemes In-Reply-To: <20191206213936.v6.52.Ibeea8fe70533e9257b72be6f9f7347beb745a9aa@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.52.Ibeea8fe70533e9257b72be6f9f7347beb745a9aa@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 Sat, Dec 7, 2019 at 12:49 PM Simon Glass wrote: > > Newer Intel SoCs have different ways of setting up cache-as-ram (CAR). > Add support for these along with suitable configuration options. > > To make the code cleaner, adjust a few definitions in processor.h so that > they can be used from assembler. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: > - Adjust > - Fix up license header > - Fix various code-style problems > - Use CONFIG_INTEL_CAR_CQOS to control car2.S inclusion > - Use car_init_ret to return > - Use post_code() calls consistent with car.S > > Changes in v3: > - Drop dead code > - Drop unneeded Kconfig file > - Use a macro for is-power-of-two > > Changes in v2: None > > arch/x86/Kconfig | 16 + > arch/x86/cpu/intel_common/Makefile | 8 + > arch/x86/cpu/intel_common/car2.S | 448 ++++++++++++++++++++++++ > arch/x86/cpu/intel_common/car2_uninit.S | 87 +++++ > arch/x86/include/asm/processor.h | 12 +- > 5 files changed, 564 insertions(+), 7 deletions(-) > create mode 100644 arch/x86/cpu/intel_common/car2.S > create mode 100644 arch/x86/cpu/intel_common/car2_uninit.S > applied to u-boot-x86/next, thanks!