]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: Move environment choice to Kconfig
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 27 Feb 2017 17:22:03 +0000 (18:22 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:45 +0000 (11:23 +0530)
commitfb1c43cc37ae45c6c0576d976a53b9222819691c
tree2f55124ffd08e8c7d0fa432f4f6d730910a9973a
parent594b4cc732f8f45d855ff435ef68fa4afc153844
common: Move environment choice to Kconfig

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@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
common/Kconfig
include/configs/sunxi-common.h
include/environment.h