arm: fix bd pointer dereference prior initialization
authorIgor Grinberg <grinberg@compulab.co.il>
Tue, 16 Aug 2011 23:48:23 +0000 (23:48 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 3 Sep 2011 20:40:46 +0000 (22:40 +0200)
commit15c2e2c0ea64a0ab10b6765e2b0ab46d99d9ac34
treeac25b47aa971f5c10c51d4bb653b513a306fe893
parentb2b8f98f885c61f64aacaeb8fc4d247fbb3ae8cd
arm: fix bd pointer dereference prior initialization

gd->bd pointer has been used prior been initialized.
Move the relevant code after the initialization.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
arch/arm/lib/board.c