9
0
Fork 0

ARM: AM335x: beaglebone: change to defaultenv_append_directory

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-05-15 13:00:27 +02:00
parent 14f7e1d491
commit 4049aea7a8
5 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,3 @@
lwl-y += lowlevel.o
obj-y += board.o
bbenv-y += defaultenv-beaglebone

View File

@ -29,6 +29,7 @@
#include <globalvar.h>
#include <sizes.h>
#include <net.h>
#include <envfs.h>
#include <bootsource.h>
#include <asm/armlinux.h>
#include <generated/mach-types.h>
@ -66,6 +67,8 @@ static int beaglebone_devices_init(void)
black = is_beaglebone_black();
defaultenv_append_directory(defaultenv_beaglebone);
globalvar_add_simple("board.variant", black ? "boneblack" : "bone");
printf("detected 'BeagleBone %s'\n", black ? "Black" : "White");

View File

@ -19,7 +19,6 @@ CONFIG_MENU=y
# CONFIG_TIMESTAMP is not set
CONFIG_CONSOLE_ACTIVATE_NONE=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/beaglebone/env"
CONFIG_CMD_EDIT=y
CONFIG_CMD_SLEEP=y
CONFIG_CMD_MSLEEP=y