| // SPDX-License-Identifier: GPL-2.0+ |
| * Samuel Dionne-Riel <samuel@dionne-riel.com> |
| static int do_pause(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
| char *message = "Press any key to continue..."; |
| /* No newline, so it sticks to the bottom of the screen */ |
| /* Wait on "any" key... */ |
| /* Since there was no newline, we need it now */ |
| U_BOOT_CMD(pause, 2, 1, do_pause, |
| "delay until user input", |
| "[prompt] - Wait until users presses any key. [prompt] can be used to customize the message.\n" |