x86: apl: Use read-only SPL and new of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:52 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
With Apollo Lake, SPL is placed in read-only memory. Set this new option
so that OF_PLATDATA_INST can be used.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/apollolake/Kconfig

index 590fe31..b3ce053 100644 (file)
@@ -21,6 +21,8 @@ config INTEL_APOLLOLAKE
        select INTEL_GMA_SWSMISCI
        select ACPI_GNVS_EXTERNAL
        select TPL_OF_PLATDATA_PARENT
+       select TPL_OF_PLATDATA_INST
+       select TPL_READ_ONLY
        imply ENABLE_MRC_CACHE
        imply AHCI_PCI
        imply SCSI