]> git.sur5r.net Git - u-boot/commit
sandbox: Use os functions to read host device tree
authorSimon Glass <sjg@chromium.org>
Thu, 27 Feb 2014 20:25:58 +0000 (13:25 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2014 02:05:45 +0000 (20:05 -0600)
commit95fac6ab4589ec0767b1eac662577866e2b2f423
tree29519eb5d3ee96890a7b9db2c00c7e71375ad34e
parent9f6044256ecb3aa2d62f1f26ca564d0e55e19458
sandbox: Use os functions to read host device tree

At present we use U-Boot's filesystem layer to read the sandbox device tree,
but this is problematic since it relies on a temporary feauture added
there. Since we plan to implement proper block layer support for sandbox,
change this code to use the os layer functions instead. Also use the new
fdt_create_empty_tree() instead of our own code.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c
disk/part.c