]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: Move fdt check earlier so that board_early_init_f() can use it
authorSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 13:01:16 +0000 (13:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 10 Jan 2013 21:21:44 +0000 (22:21 +0100)
commiteae78c3406e8b53950ab716567157aa836a5f398
tree36dc2a552bd9b8e3af4b99fe8e62276318c920ec
parent724cdffca179057f4ebdf413ad764ea70b0e8ed2
arm: Move fdt check earlier so that board_early_init_f() can use it

We want to use the fdt inside board_early_init_f(), so check for its
presence earlier in the pre-reloc init sequence.

So far ARM and microblaze are the only only ones that use
CONFIG_OF_CONTROL. Microblaze does not have the same init loop, and in
particular does not have the board_early_init_f() call. So a patch for
microblaze would have no meaning.

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