summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/omap_generic.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/mach-omap/omap_generic.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/mach-omap/omap_generic.c')
-rw-r--r--arch/arm/mach-omap/omap_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap/omap_generic.c b/arch/arm/mach-omap/omap_generic.c
index 3d302f3efa..bedb4d8d26 100644
--- a/arch/arm/mach-omap/omap_generic.c
+++ b/arch/arm/mach-omap/omap_generic.c
@@ -142,7 +142,7 @@ static int omap_env_init(void)
return 0;
}
- default_environment_path = "/boot/barebox.env";
+ default_environment_path_set("/boot/barebox.env");
return 0;
}