board_f: sandbox: Move sandbox_early_getopt_check() into misc_init_f()
authorSimon Glass <sjg@chromium.org>
Tue, 28 Mar 2017 16:27:28 +0000 (10:27 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2017 17:55:07 +0000 (13:55 -0400)
commit689697785e04aefd08b6efdc4e47a737819da173
treefe4090eda1086a2e569f9be167c3d112bec026d0
parentd891ab95c2086503f1bfca4c34af35cb64dfab1f
board_f: sandbox: Move sandbox_early_getopt_check() into misc_init_f()

We don't need a special hook for sandbox as one of the later ones will do
just as well. We can print error messages about bad options after we
print the banner. In fact, it seems better.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/sandbox/cpu/start.c
common/board_f.c
include/configs/sandbox.h