Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63390 )
Change subject: Kconfig: Add a Kconfig to opt-out from __SIMPLE_DEVICE__ ......................................................................
Kconfig: Add a Kconfig to opt-out from __SIMPLE_DEVICE__
Change-Id: I84414fe1514247a6f05ce6c9889e4eb11f9f6fe6 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/Kconfig M src/include/rules.h 2 files changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/63390/1
diff --git a/src/Kconfig b/src/Kconfig index d57ce90..953ee6a 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -1374,3 +1374,8 @@ bool default n if RAMPAYLOAD default y + +config NO_EARLY_SIMPLE_DEVICE + bool + help + Select this to opt-out of early definition __SIMPLE_DEVICE__ diff --git a/src/include/rules.h b/src/include/rules.h index 02b55c5..a7642ec 100644 --- a/src/include/rules.h +++ b/src/include/rules.h @@ -321,7 +321,7 @@ * be built with simple device model. */
-#if !ENV_RAMSTAGE +#if !ENV_RAMSTAGE && !CONFIG(NO_EARLY_SIMPLE_DEVICE) #define __SIMPLE_DEVICE__ #endif