summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-28 10:27:28 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 13:55:07 -0400
commit689697785e04aefd08b6efdc4e47a737819da173 (patch)
treefe4090eda1086a2e569f9be167c3d112bec026d0 /common/board_f.c
parentd891ab95c2086503f1bfca4c34af35cb64dfab1f (diff)
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>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 6995f741a6..f1c97fc2a3 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -840,9 +840,6 @@ static const init_fnc_t init_sequence_f[] = {
init_baud_rate, /* initialze baudrate settings */
serial_init, /* serial communications setup */
console_init_f, /* stage 1 init of console */
-#ifdef CONFIG_SANDBOX
- sandbox_early_getopt_check,
-#endif
display_options, /* say that we are here */
display_text_info, /* show debugging info if required */
#if defined(CONFIG_MPC8260)