summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/tqma6x/board.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-01-23 13:58:49 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-27 09:27:02 +0100
commit25cee7ec176693c40d80c1614e1244624e803a85 (patch)
treef3a4c680270487d3d21b68aa30cca2e0a0c17f89 /arch/arm/boards/tqma6x/board.c
parentdac65f99e8bf1fbe2e15fa96ef901623bb49dc89 (diff)
downloadbarebox-25cee7ec176693c40d80c1614e1244624e803a85.tar.gz
barebox-25cee7ec176693c40d80c1614e1244624e803a85.tar.xz
environment: Use accessor functions for default environment path
default_environment_path only exists when CONFIG_ENV_HANDLING is enabled. Boards would have to #ifdef this if they wanted to use default_environment_path. Use accessor functions instead which can be ifdeffed on a single place. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/tqma6x/board.c')
-rw-r--r--arch/arm/boards/tqma6x/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/tqma6x/board.c b/arch/arm/boards/tqma6x/board.c
index a870bf290f..30ebf34bd2 100644
--- a/arch/arm/boards/tqma6x/board.c
+++ b/arch/arm/boards/tqma6x/board.c
@@ -129,7 +129,7 @@ static int tqma6x_env_init(void)
device_detect_by_name("mmc2");
- default_environment_path = "/dev/mmc2.boot1";
+ default_environment_path_set("/dev/mmc2.boot1");
return 0;
}