coreboot-kgpe-d16/src/mainboard/google
Michael Niewöhner 7736bfc443 soc/intel/sgx: convert SGX and PRMRR devicetree options to Kconfig
The devicetree is not made for user-choosable options, thus introduce
Kconfig options for both SGX and the corresponding PRMRR size.

The PRMRR size Kconfig has been implemented as a maximum value. At
runtime the final PRMRR size gets selected by checking the supported
values in MSR_PRMRR_VALID_CONFIG and trying to select the value nearest
to the chosen one.

When "Maximum" is chosen, the highest possibly value from the MSR gets
used. When a too strict limit is set, coreboot will die, printing an
error message.

Tested successfully on X11SSM-F

Change-Id: I5f08e85898304bba6680075ca5d6bce26aef9a4d
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35799
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2019-11-04 19:25:02 +00:00
..
auron soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
beltino sb/intel/lynxpoint: Use sb/intel/common/platform.asl 2019-11-04 11:46:42 +00:00
butterfly mb/*/*{bd82x6x/ibexpreak}: Use sb/intel/common/acpi/platform.asl 2019-11-04 11:36:39 +00:00
cheza mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
cyan soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
daisy src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
dragonegg soc/intel/sgx: convert SGX and PRMRR devicetree options to Kconfig 2019-11-04 19:25:02 +00:00
drallion mb/google/drallion: Update GPIO table 2019-11-04 11:33:44 +00:00
eve soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
fizz soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
foster src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
gale src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
glados soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
gru mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
hatch mb/google/hatch: update DLL values for Kindred 2019-11-04 11:55:24 +00:00
jecht mb/*/*/others: Use sb/intel/common/acpi/platform.asl 2019-11-04 11:48:19 +00:00
kahlee mb/google: Shrink GBB section size 2019-10-18 12:23:54 +00:00
kukui mb/google/kukui: Unselect FATAL_ASSERT 2019-11-01 11:45:47 +00:00
link mb/*/*{bd82x6x/ibexpreak}: Use sb/intel/common/acpi/platform.asl 2019-11-04 11:36:39 +00:00
mistral mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
nyan src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
nyan_big src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
nyan_blaze src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
oak src: Use 'include <boot/coreboot_tables.h>' when appropriate 2019-10-27 17:48:30 +00:00
octopus soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
parrot include: Remove EC_EVENT_* from elog.h 2019-11-04 11:43:49 +00:00
peach_pit src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
poppy soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
rambi soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
reef soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
sarien soc/intel/{cnl,icl}: Move globalnvs.asl/nvs.h into common/block/ 2019-11-01 11:50:31 +00:00
slippy sb/intel/lynxpoint: Use sb/intel/common/platform.asl 2019-11-04 11:46:42 +00:00
smaug src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
storm src/mainboard: change "unsigned" to "unsigned int" 2019-10-27 21:08:49 +00:00
stout include: Remove EC_EVENT_* from elog.h 2019-11-04 11:43:49 +00:00
trogdor trogdor: Add mainboard gpio support 2019-11-01 01:16:35 +00:00
urara mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
veyron mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
veyron_mickey mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
veyron_rialto mb: remove test-only HWIDs 2019-09-30 11:33:35 +00:00
Kconfig
Kconfig.name