From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 16:31:27 +0800 Subject: [PATCH v6 095/102] x86: apl: Add SPL loaders In-Reply-To: <20191207044315.51770-10-sjg@chromium.org> References: <20191207044315.51770-1-sjg@chromium.org> <20191207044315.51770-10-sjg@chromium.org> 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:54 PM Simon Glass wrote: > > Add loaders for SPL and TPL so that the next stage can be loaded from > memory-mapped SPI or, failing that, the Fast SPI driver. > > Signed-off-by: Simon Glass > > --- > > Changes in v6: > - Make BOOT_FROM_FAST_SPI_FLASH a Kconfig option > - Move image pos/size access functions and symbols to generic SPL code > > Changes in v5: > - Add L2 cache flush functoin > - Drop SAFETY_MARGIN > > Changes in v4: None > Changes in v3: > - Add a driver for APL SPI for TPL (using of-platdata) > - Support TPL without CONFIG_TPL_SPI_SUPPORT > - Support bootstage timing > > Changes in v2: None > > arch/x86/cpu/apollolake/Makefile | 2 + > arch/x86/cpu/apollolake/spl.c | 178 +++++++++++++++++++++++++++++++ > 2 files changed, 180 insertions(+) > create mode 100644 arch/x86/cpu/apollolake/spl.c > Reviewed-by: Bin Meng