diff options
author | Simon Glass | 2020-11-05 10:33:41 -0700 |
---|---|---|
committer | Tom Rini | 2020-12-04 16:09:26 -0500 |
commit | d9477a0a4d4c4561941007a8b3db588385aaad07 (patch) | |
tree | 7d1b7455747038d1728c152cf9c689bc74d7ea8f /include/bootm.h | |
parent | 4dcb81545ab09b6cb4ee1f3c870fb3131984cf6f (diff) |
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 35c27ab9609..f12ee2b3cb3 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 |