diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/lib/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c index 254aecf..9e741d2 100644 --- a/arch/avr32/lib/board.c +++ b/arch/avr32/lib/board.c @@ -102,7 +102,7 @@ static int init_baudrate(void) char tmp[64]; int i; - i = getenv_r("baudrate", tmp, sizeof(tmp)); + i = getenv_f("baudrate", tmp, sizeof(tmp)); if (i > 0) { gd->baudrate = simple_strtoul(tmp, NULL, 10); } else { |