diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-05-25 08:52:07 +0300 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-06-15 18:35:52 +0000 |
commit | 44ef38f70344f44ee53a3883515246172eb75054 (patch) | |
tree | c6f138d104484327e635c1cac1ccb81dbc15ce42 /Makefile.inc | |
parent | 49c44cdccb936bf1179402b5927a1f477ad4e752 (diff) |
arch/x86: Remove NO_FIXED_XIP_ROM_SIZE
The variable SETUP_XIP_CACHE provides us a working
alternative.
Change-Id: I6e3befedbbc7967b71409640dc81a0c2a9b3e511
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41821
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc index 7149c4f63f..86335d9a88 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1177,9 +1177,10 @@ $(CONFIG_CBFS_PREFIX)/romstage-options := -S ".car.data" ifneq ($(CONFIG_NO_XIP_EARLY_STAGES),y) $(CONFIG_CBFS_PREFIX)/romstage-options += --xip -ifneq ($(CONFIG_NO_FIXED_XIP_ROM_SIZE),y) +# For efficient MTRR utilisation use natural alignment for romstage. +ifeq ($(CONFIG_SETUP_XIP_CACHE),y) $(CONFIG_CBFS_PREFIX)/romstage-options += --pow2page -endif # CONFIG_NO_FIXED_XIP_ROM_SIZE +endif # CONFIG_SETUP_XIP_CACHE endif # CONFIG_NO_XIP_EARLY_STAGES endif # CONFIG_ARCH_ROMSTAGE_X86_32 / CONFIG_ARCH_ROMSTAGE_X86_64 |