9
0
Fork 0
barebox/arch/arm/boards/eukrea_cpuimx25
Sascha Hauer 4d9734c8a2 defaultenv: add defaultenv-1 in boards via defaultenv_append_directory()
Currently it's hardcoded for each board which defaultenv version is
used. This is unfortunate since some people like the other defaultenv
version better and may want to select it.

This patch removes the board specific environment path
CONFIG_DEFAULT_ENVIRONMENT_PATH and instead adds it via:

	if (IS_ENABLED(CONFIG_DEFAULT_ENVIRONMENT_GENERIC))
		defaultenv_append_directory(defaultenv_<board>);

This way we can make sure that the defaultenv-1 board specific bits are
only compiled in when defaultenv-1 is actually in use.

The next step is to make the defaultenv version selection a user visible
choice.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-10-10 08:30:26 +02:00
..
defaultenv-eukrea_cpuimx25 defaultenv: add defaultenv-1 in boards via defaultenv_append_directory() 2016-10-10 08:30:26 +02:00
Makefile defaultenv: add defaultenv-1 in boards via defaultenv_append_directory() 2016-10-10 08:30:26 +02:00
eukrea_cpuimx25.c defaultenv: add defaultenv-1 in boards via defaultenv_append_directory() 2016-10-10 08:30:26 +02:00
flash-header.imxcfg eukrea-cpuimx25: fix boot 2015-09-29 08:47:25 +02:00
lowlevel.c ARM: i.MX: boards: Setup stack before calling imx*_barebox_entry 2015-03-09 06:34:17 +01:00