Comments

Use the new common code to load a flat device tree. Also fix up a few casts
so that this code works with sandbox. Other than that the functionality
should not change.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
common/cmd_bootm.c | 4 +-
common/image-fdt.c | 214 +++++++---------------------------------------------
common/image-fit.c | 19 -----
include/image.h | 6 +-
4 files changed, 33 insertions(+), 210 deletions(-)