diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-05 20:33:41 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-12-05 00:09:26 +0300 |
commit | d9477a0a4d4c4561941007a8b3db588385aaad07 (patch) | |
tree | 7d1b7455747038d1728c152cf9c689bc74d7ea8f /include/bootm.h | |
parent | 4dcb81545ab09b6cb4ee1f3c870fb3131984cf6f (diff) | |
download | u-boot-d9477a0a4d4c4561941007a8b3db588385aaad07.tar.xz |
bootm: Add a bool parameter to bootm_process_cmdline_env()
This function will soon do more than just handle the 'silent linux'
feature. As a first step, update it to take a boolean parameter,
indicating whether or not the processing is required.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootm.h')
-rw-r--r-- | include/bootm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bootm.h b/include/bootm.h index 35c27ab960..f12ee2b3cb 100644 --- a/include/bootm.h +++ b/include/bootm.h @@ -91,8 +91,9 @@ void board_preboot_os(void); * Updates the 'bootargs' envvar as required. This handles making Linux boot * silently if requested ('silent_linux' envvar) * + * @do_silent: Process bootargs for silent console * @return 0 if OK, -ENOMEM if out of memory */ -int bootm_process_cmdline_env(void); +int bootm_process_cmdline_env(bool do_silent); #endif |