diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2022-11-30 19:26:01 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-12-17 20:48:06 +0000 |
commit | fa83887e48f196cfa303ce6de32acf1dfec7cad9 (patch) | |
tree | 1eb1a776d3e3e02c182db936dc9e6ad38529bf9b /src/lib/Kconfig | |
parent | e6b96dceabb9cc4e79653c7992b8c16ac3d234ce (diff) |
Add option to use Ada code in romstage
If selected, libgnat is linked into romstage. In addition, a call to
romstage_adainit() is added to support Ada program data
initialization.
BUG=b:252792591
BRANCH=firmware-brya-14505.B
TEST=Ada code compiles for romstage and loads successfully
Change-Id: I74f0460f6b14fde2b4bd6391e1782b2e5b217707
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70274
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/Kconfig')
-rw-r--r-- | src/lib/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Kconfig b/src/lib/Kconfig index ae96fc61ee..d108962bac 100644 --- a/src/lib/Kconfig +++ b/src/lib/Kconfig @@ -5,6 +5,11 @@ config MISSING_BOARD_RESET implementation. This activates a stub that logs the missing board reset and halts execution. +config ROMSTAGE_ADA + bool + help + Selected by features that use Ada code in romstage. + config RAMSTAGE_ADA bool help |