summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/basecode/ramtop/Kconfig
blob: 21e482a6383c791a5656265163c743185e02989a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## SPDX-License-Identifier: GPL-2.0-only

config SOC_INTEL_COMMON_BASECODE_RAMTOP
	bool
	default n
	help
	  Driver code to store the top_of_ram (RAMTOP) address into
	  non-volatile space (CMOS) during the first boot and use
	  it across all consecutive boot.

	  Purpose of this driver code is to cache the RAMTOP (with a
	  fixed size) for all consecutive boots even before calling
	  into the FSP. Otherwise, this range remains un-cached until postcar
	  boot stage updates the MTRR programming. FSP-M and late romstage
	  uses this uncached RAMTOP range for various purposes and having the
	  ability to cache this range beforehand would help to optimize the boot
	  time (more than 50ms).