Home
last modified time | relevance | path

Searched hist:"9 a263e55dc00f3277d8e82c906ee5c7a1dca0ba5" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dfdtdec.h9a263e55dc00f3277d8e82c906ee5c7a1dca0ba5 Wed Mar 28 10:08:24 UTC 2012 Simon Glass <sjg@chromium.org> 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>
/rk3399_rockchip-uboot/lib/
H A Dfdtdec.c9a263e55dc00f3277d8e82c906ee5c7a1dca0ba5 Wed Mar 28 10:08:24 UTC 2012 Simon Glass <sjg@chromium.org> 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>