diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-02-27 18:22:03 +0100 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-04-07 11:23:45 +0530 |
commit | fb1c43cc37ae45c6c0576d976a53b9222819691c (patch) | |
tree | 2f55124ffd08e8c7d0fa432f4f6d730910a9973a /include/environment.h | |
parent | 594b4cc732f8f45d855ff435ef68fa4afc153844 (diff) |
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>
Diffstat (limited to 'include/environment.h')
-rw-r--r-- | include/environment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h index b602e8ac46..6f94986c6b 100644 --- a/include/environment.h +++ b/include/environment.h @@ -8,6 +8,8 @@ #ifndef _ENVIRONMENT_H_ #define _ENVIRONMENT_H_ +#include <linux/kconfig.h> + /************************************************************************** * * The "environment" is stored as a list of '\0' terminated |