diff options
author | Simon Glass <sjg@chromium.org> | 2012-03-28 10:08:24 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-29 08:12:49 +0200 |
commit | 9a263e55dc00f3277d8e82c906ee5c7a1dca0ba5 (patch) | |
tree | 01817ce4e4756f0b7b57cead40f06b59639d589d /arch/blackfin/cpu/bootrom-asm-offsets.awk | |
parent | 87f938c9f7372f587a43fe7babcb171ee0a0672f (diff) | |
download | talos-obmc-uboot-9a263e55dc00f3277d8e82c906ee5c7a1dca0ba5.tar.gz talos-obmc-uboot-9a263e55dc00f3277d8e82c906ee5c7a1dca0ba5.zip |
fdt: Avoid early panic() when there is no FDT present
CONFIG_OF_CONTROL requires a valid device tree. However, we cannot call
panic() before the console is set up since the message does not appear,
and we get a silent failure.
Remove the panic from fdtdec_check_fdt() and provide a new function to
prepare the fdt for use. This will be called after the console is ready.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/blackfin/cpu/bootrom-asm-offsets.awk')
0 files changed, 0 insertions, 0 deletions