arm: Check for valid FDT after console is up
authorSimon Glass <sjg@chromium.org>
Wed, 28 Mar 2012 10:08:25 +0000 (10:08 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:49 +0000 (08:12 +0200)
commit2866903b3e32909085ffe486baca1bcb44e2caeb
treefc7766cd3a1e7b32946af1f1096ec88b63631b8d
parent9a263e55dc00f3277d8e82c906ee5c7a1dca0ba5
arm: Check for valid FDT after console is up

When using CONFIG_OF_CONTROL, add a check that we have a valid FDT
and panic() if not. This must be done after the console is ready.

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