diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-12 08:15:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-20 14:57:17 +0100 |
commit | f1b3619759c457f0323e999d0aa7874c2887d172 (patch) | |
tree | 9ec814072ca413b2d37343bcd2a90ee5748eb250 /arch/arm/boards | |
parent | c7f122830d240164325f4e9e325363c6e9c7bb7f (diff) | |
download | barebox-f1b3619759c457f0323e999d0aa7874c2887d172.tar.gz barebox-f1b3619759c457f0323e999d0aa7874c2887d172.tar.xz |
ARM: i.MX51 efikasb: Use defaultenv_append_directory
To have the smartbook specific env available in the multi image.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards')
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/board.c | 3 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/bin/lvds_init (renamed from arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init) | 0 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/boot/hd-internal (renamed from arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal) | 0 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/boot/mmc-left (renamed from arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left) | 0 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/config (renamed from arch/arm/boards/efika-mx-smartbook/env/config) | 0 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/init/automount (renamed from arch/arm/boards/efika-mx-smartbook/env/init/automount) | 0 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/init/bootsource (renamed from arch/arm/boards/efika-mx-smartbook/env/init/bootsource) | 0 | ||||
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/network/eth0-discover (renamed from arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover) | 0 |
9 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/Makefile b/arch/arm/boards/efika-mx-smartbook/Makefile index 0ac4693890..d00e0f6ed0 100644 --- a/arch/arm/boards/efika-mx-smartbook/Makefile +++ b/arch/arm/boards/efika-mx-smartbook/Makefile @@ -2,3 +2,4 @@ obj-y += board.o flash-header-imx51-genesi-efikasb.dcd.o lwl-y += lowlevel.o extra-y += flash-header-imx51-genesi-efikasb.dcd.S extra-y += flash-header-imx51-genesi-efikasb.dcd +bbenv-y += defaultenv-efikasb diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c index 59410c1ec4..02fce4b1c0 100644 --- a/arch/arm/boards/efika-mx-smartbook/board.c +++ b/arch/arm/boards/efika-mx-smartbook/board.c @@ -17,6 +17,7 @@ #include <bootsource.h> #include <partition.h> #include <common.h> +#include <envfs.h> #include <fcntl.h> #include <gpio.h> #include <init.h> @@ -247,6 +248,8 @@ static int efikamx_late_init(void) efikamx_power_init(); + defaultenv_append_directory(defaultenv_efikasb); + gpio_direction_output(GPIO_BACKLIGHT_POWER, 1); for (i = 0; i < ARRAY_SIZE(leds); i++) diff --git a/arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/bin/lvds_init index 692392cd6c..692392cd6c 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/bin/lvds_init diff --git a/arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/boot/hd-internal index 2233f14269..2233f14269 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/boot/hd-internal diff --git a/arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/boot/mmc-left index da7bc0398a..da7bc0398a 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/boot/mmc-left diff --git a/arch/arm/boards/efika-mx-smartbook/env/config b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/config index c63c6a1fa5..c63c6a1fa5 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/config +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/config diff --git a/arch/arm/boards/efika-mx-smartbook/env/init/automount b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/init/automount index 8cb5eaf792..8cb5eaf792 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/init/automount +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/init/automount diff --git a/arch/arm/boards/efika-mx-smartbook/env/init/bootsource b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/init/bootsource index 380e85589b..380e85589b 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/init/bootsource +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/init/bootsource diff --git a/arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/network/eth0-discover index f8368a5ec6..f8368a5ec6 100644 --- a/arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover +++ b/arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/network/eth0-discover |