Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44159 )
Change subject: soc/intel/apollolake: Select ASAN_IN_ROMSTAGE ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44159/1/src/soc/intel/apollolake/Kc... File src/soc/intel/apollolake/Kconfig:
https://review.coreboot.org/c/coreboot/+/44159/1/src/soc/intel/apollolake/Kc... PS1, Line 108: select ASAN_IN_ROMSTAGE if ASAN_IN_RAMSTAGE
Instead of having three config options (ASAN, ASAN_IN_RAMSTAGE & ASAN_IN_ROMSTAGE), I thought of cre […]
So something we do a lot is to mark platforms/chips/boards/whatever that support a given feature with HAVE_*, so apollo lake could select both HAVE_ASAN_IN_ROMSTAGE and HAVE_ASAN_IN_RAMSTAGE.
Then, in some more common area, we expose them to the user:
config ASAN_IN_ROMSTAGE bool "Enable Address Sanitizer in romstage" default n depends on HAVE_ASAN_IN_ROMSTAGE