Overriding config option selected by SOC


Michal Orzel
 

Hello all,

Is there any clean way to override a config option selected by SOC from within an app?
Let's say that the SOC selects what GIC version to use. I would like to modify this version(from GICv2 to GICv3) without manually modifying Kconfig.soc.
CONFIG_GIC* is an invisible symbol so I cannot modify it through prj.conf.
I can set new version from within app's directory using Kconfig, but the old config option will still be there.

Thanks in advance for help.

Michal