From 6889412ad5e78f207b7155d81ea6c334e417e21e Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 12 May 2022 10:02:06 -0400 Subject: Convert CONFIG_SYS_BARGSIZE to Kconfig This converts the following to Kconfig: CONFIG_SYS_BARGSIZE Signed-off-by: Tom Rini --- boot/image-board.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'boot') diff --git a/boot/image-board.c b/boot/image-board.c index 0d2e0fc969..cfc1c658e3 100644 --- a/boot/image-board.c +++ b/boot/image-board.c @@ -21,10 +21,6 @@ #include #include -#ifndef CONFIG_SYS_BARGSIZE -#define CONFIG_SYS_BARGSIZE 512 -#endif - DECLARE_GLOBAL_DATA_PTR; #if CONFIG_IS_ENABLED(LEGACY_IMAGE_FORMAT) @@ -827,6 +823,7 @@ int boot_get_loadable(int argc, char *const argv[], bootm_headers_t *images, return 0; } +#ifdef CONFIG_SYS_BOOT_GET_CMDLINE /** * boot_get_cmdline - allocate and initialize kernel cmdline * @lmb: pointer to lmb handle, will be used for memory mgmt @@ -900,6 +897,7 @@ int boot_get_kbd(struct lmb *lmb, struct bd_info **kbd) return 0; } +#endif int image_setup_linux(bootm_headers_t *images) { -- cgit v1.2.3