diff options
Diffstat (limited to 'src/lib/Kconfig')
-rw-r--r-- | src/lib/Kconfig | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/lib/Kconfig b/src/lib/Kconfig index d108962bac..23647947a4 100644 --- a/src/lib/Kconfig +++ b/src/lib/Kconfig @@ -21,6 +21,12 @@ config RAMSTAGE_LIBHWBASE help Selected by features that require `libhwbase` in ramstage. +config ROMSTAGE_LIBHWBASE + bool + select ROMSTAGE_ADA + help + Selected by features that require `libhwbase` in romstage. + config FLATTENED_DEVICE_TREE bool help @@ -68,11 +74,22 @@ config SPD_CACHE_FMAP_NAME help Name of the FMAP region created in the default FMAP to cache SPD data. -if RAMSTAGE_LIBHWBASE +if RAMSTAGE_LIBHWBASE && !ROMSTAGE_LIBHWBASE config HWBASE_DYNAMIC_MMIO def_bool y +endif + +if ROMSTAGE_LIBHWBASE + +config HWBASE_STATIC_MMIO + def_bool y + +endif + +if RAMSTAGE_LIBHWBASE || ROMSTAGE_LIBHWBASE + config HWBASE_DEFAULT_MMCONF hex default ECAM_MMCONF_BASE_ADDRESS |