sandbox: Allow chaining from SPL to U-Boot proper
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:57:45 +0000 (11:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commitd4e33f5a72accc891e3600cb2d2bc579004de9e1
tree7b3cbcbe5f88bb1e3e9699373cef23a0e5dd431f
parent72a7e0760447ed46ca50174cb8798a2e84dedf85
sandbox: Allow chaining from SPL to U-Boot proper

SPL is expected to load and run U-Boot. This needs to work with sandbox also.
Provide a function to locate the U-Boot image, and another to start it. This
allows SPL to function on sandbox as it does on other archs.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
include/os.h