summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/Kconfig
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-11-01 17:30:05 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-12-06 15:16:47 +0000
commit67910db907fb3d5feacdbfaa40952a88f673795a (patch)
treeb174ff649ea7c5d301191dd66d3789a9a055cfbf /src/arch/x86/Kconfig
parent4ba70a75758711b1665545f754cbe11235df5097 (diff)
downloadcoreboot-67910db907fb3d5feacdbfaa40952a88f673795a.tar.gz
coreboot-67910db907fb3d5feacdbfaa40952a88f673795a.tar.bz2
coreboot-67910db907fb3d5feacdbfaa40952a88f673795a.zip
arch|cpu/x86: Add Kconfig option for x86 reset vector
Prepare for an implementation supporting the reset vector in RAM and not the traditional 0xfffffff0. Add a Kconfig symbol that can be used in place of hardcoded values. Change-Id: I6a814f7179ee4251aeeccb2555221616e944e03d Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37485 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/x86/Kconfig')
-rw-r--r--src/arch/x86/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 0e6f486d03c6..e27aec246333 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -87,6 +87,16 @@ config AP_IN_SIPI_WAIT
default n
depends on ARCH_X86 && SMP
+config X86_RESET_VECTOR
+ hex
+ depends on ARCH_X86
+ default 0xfffffff0
+ help
+ Specify the location of the x86 reset vector. In traditional devices
+ this must match the architectural reset vector to produce a bootable
+ image. Nontraditional designs may use this to position the reset
+ vector into its desired location.
+
config RESET_VECTOR_IN_RAM
bool
depends on ARCH_X86