[U-Boot] [PATCH v4 4/16] common: Move environment choice to Kconfig
Jagan Teki
jagan at openedev.com
Thu Jan 26 12:49:49 CET 2017
On Mon, Jan 23, 2017 at 2:46 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> The environment location is something that might change per board
> (depending on what storage options are availaible there) or depending on
> the user choice (when we have several options).
>
> Instead of hardcoding it in our configuration header, create a Kconfig
> choice with the options we use for now, and the symbols that depend on it.
>
> Once done, also remove the irrelevant sunxi defines.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> common/Kconfig | 69 +++++++++++++++++++++++++++++++++++-
> include/configs/sunxi-common.h | 14 +------
> include/environment.h | 2 +-
> 3 files changed, 74 insertions(+), 11 deletions(-)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index a04ee1084fed..e8c88f4ee258 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -158,6 +158,75 @@ config SPI_BOOT
>
> endmenu
>
> +menu "Environment"
> +
> +if ARCH_SUNXI
Why we need this arch specific on common, since all these ENV_* are
common for all?
More information about the U-Boot
mailing list