[PATCH linux dev-4.10] aspeed_g5_defconfig: add CONFIG_OF_DYNAMIC.

Joel Stanley joel at jms.id.au
Tue Aug 8 23:08:46 AEST 2017


Hey Mykola,

On Fri, Aug 4, 2017 at 12:48 AM, Mykola Kostenok <c_mykolak at mellanox.com> wrote:
> Add CONFIG_OF_DYNAMIC for hotplug operations.
> It requires CONFIG_OF_UNITTEST so it added too.
>
> Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>
> ---
>  arch/arm/configs/aspeed_g5_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig
> index 2025e45..e78e306 100644
> --- a/arch/arm/configs/aspeed_g5_defconfig
> +++ b/arch/arm/configs/aspeed_g5_defconfig
> @@ -215,3 +215,5 @@ CONFIG_DEBUG_USER=y
>  # CONFIG_XZ_DEC_POWERPC is not set
>  # CONFIG_XZ_DEC_IA64 is not set
>  # CONFIG_XZ_DEC_SPARC is not set
> +CONFIG_OF_UNITTEST=y
> +CONFIG_OF_DYNAMIC=y

I'm not sure that this is something we want enabled:

CONFIG_OF_UNITTEST:
 This option builds in test cases for the device tree infrastructure
 that are executed once at boot time, and the results dumped to the
 console.

CONFIG_OF_DYNAMIC:
 On some platforms, the device tree can be manipulated at runtime.
 While this option is selected automatically on such platforms, you
 can enable it manually to improve device tree unit test coverage.

Can you explain what you're wanting to do here?

I've added some of our device tree experts to cc so they can offer advice.

Cheers,

Joel


More information about the openbmc mailing list