]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/cpu/start.c
sandbox: Add LCD driver
[karo-tx-uboot.git] / arch / sandbox / cpu / start.c
index 2d19fe795e06baef0e6229ea3675fe8b6a6b714d..4d5569e6476725d1f2a099a07369e40bd5237914 100644 (file)
@@ -175,6 +175,15 @@ static int sandbox_cmdline_cb_ignore_missing(struct sandbox_state *state,
 SANDBOX_CMDLINE_OPT_SHORT(ignore_missing, 'n', 0,
                          "Ignore missing state on read");
 
+static int sandbox_cmdline_cb_show_lcd(struct sandbox_state *state,
+                                      const char *arg)
+{
+       state->show_lcd = true;
+       return 0;
+}
+SANDBOX_CMDLINE_OPT_SHORT(show_lcd, 'l', 0,
+                         "Show the sandbox LCD display");
+
 int main(int argc, char *argv[])
 {
        struct sandbox_state *state;