Skip to content
Commit 93f4048b authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Stefan Roese
Browse files

env: Allow to set default_environment[] from board code via compile option DEFAULT_ENV_IS_RW



This change allows board code to modify default_environment[] array when
compile option DEFAULT_ENV_IS_RW is specified in board config file.

Some board default variables depend on runtime configuration which is not
known at compile time. Therefore allow to set default_environment[] array
as non-const and allow board code to modify it when it is needed.

Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Acked-by: default avatarAndre Heider <a.heider@gmail.com>
parent 3936fd99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment