summaryrefslogtreecommitdiffstats
path: root/board/cray/L1/L1.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cray/L1/L1.c')
-rw-r--r--board/cray/L1/L1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cray/L1/L1.c b/board/cray/L1/L1.c
index 1656e8ac03..33f2089c80 100644
--- a/board/cray/L1/L1.c
+++ b/board/cray/L1/L1.c
@@ -245,7 +245,7 @@ int testdram (void)
uint *pend = (uint *) L1_MEMSIZE;
uint *p;
- if (getenv_r("booted",NULL,0) <= 0)
+ if (getenv_f("booted",NULL,0) <= 0)
{
printf ("testdram..");
/*AA*/
OpenPOWER on IntegriCloud