ARM: AM335x: beaglebone: change to defaultenv_append_directory
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
14f7e1d491
commit
4049aea7a8
|
@ -1,2 +1,3 @@
|
|||
lwl-y += lowlevel.o
|
||||
obj-y += board.o
|
||||
bbenv-y += defaultenv-beaglebone
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue