arm: Correct build error introduced by getenv_ulong() patch
authorSimon Glass <sjg@chromium.org>
Sun, 23 Oct 2011 17:44:35 +0000 (17:44 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 24 Oct 2011 19:13:51 +0000 (21:13 +0200)
commitbc4e14c43c48b9c8084e177651338e4fa4938881
treee560b7a3860bf32fcd2303a616afc5501df9b42a
parentaab773a47a8f7f40b9d7c4877853b00d22fb1347
arm: Correct build error introduced by getenv_ulong() patch

Commit dc8bbea removed a local variable that is used in most ARM boards.

Since we want to avoid an 'unused variable' warning with later compilers,
and the #ifdef logic of whether this variable is required is bit painful,
this declares the variable local to the block of code that needs it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/board.c