summaryrefslogtreecommitdiff
path: root/arch/microblaze/lib/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/lib/bootm.c')
-rw-r--r--arch/microblaze/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c
index 2732203b93e..0a286e82c2b 100644
--- a/arch/microblaze/lib/bootm.c
+++ b/arch/microblaze/lib/bootm.c
@@ -27,7 +27,7 @@ int do_bootm_linux(int flag, int argc, char * const argv[],
{
/* First parameter is mapped to $r5 for kernel boot args */
void (*thekernel) (char *, ulong, ulong);
- char *commandline = getenv("bootargs");
+ char *commandline = env_get("bootargs");
ulong rd_data_start, rd_data_end;
/*