]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Boot in U-Boot through the standard call
authorSimon Glass <sjg@chromium.org>
Fri, 16 Nov 2018 01:44:08 +0000 (18:44 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 26 Nov 2018 13:25:37 +0000 (08:25 -0500)
commit72a82c2285003959b5966d6191d703cb96d6f0af
tree3782561607ad92cb008bfb76f960802c994cc394
parent956ed265bb73ff1ab226d561f01e9d26918dfe93
sandbox: Boot in U-Boot through the standard call

Most architectures use jump_to_image_no_args() to jump from SPL to U-Boot.
At present sandbox is special in that it jumps in its
spl_board_load_image() call. This is not strictly correct, and means that
sandbox misses out some parts of board_init_r(), just as calling
bloblist_finish(), for example.

Change spl_board_load_image() to just identify the filename to boot, and
implement jump_to_image_no_args() to actually jump to it.

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