summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-01-10 20:32:19 +0300
committerSimon Glass <sjg@chromium.org>2020-02-06 05:33:46 +0300
commit19464f4feb70292ea857c332f06673ac840a007d (patch)
tree89406e97f25b3def84b9b20bead19021dce953b5 /arch
parent3780e2d08e49565160272def7067322aca376c8e (diff)
downloadu-boot-19464f4feb70292ea857c332f06673ac840a007d.tar.xz
cli: Make the sandbox board_run_command the default
If CONFIG_CMDLINE=n, common/cli.c calls board_run_command. This fails to link on most architectures. However, the sandbox architecture has an implementation which we can use. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/cpu/start.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index fff9cbdd79..5b7d54869d 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -319,13 +319,6 @@ static int sandbox_cmdline_cb_show_of_platdata(struct sandbox_state *state,
}
SANDBOX_CMDLINE_OPT(show_of_platdata, 0, "Show of-platdata in SPL");
-int board_run_command(const char *cmdline)
-{
- printf("## Commands are disabled. Please enable CONFIG_CMDLINE.\n");
-
- return 1;
-}
-
static void setup_ram_buf(struct sandbox_state *state)
{
/* Zero the RAM buffer if we didn't read it, to keep valgrind happy */