summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-12 10:02:06 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:00 -0400
commit6889412ad5e78f207b7155d81ea6c334e417e21e (patch)
treef4d0ddbe603a1e956b162d597f26218a87235cd7 /boot
parentd31466b382dd05a5439d12d69ddd6e8eaff0e5e6 (diff)
downloadu-boot-6889412ad5e78f207b7155d81ea6c334e417e21e.tar.gz
u-boot-6889412ad5e78f207b7155d81ea6c334e417e21e.tar.bz2
u-boot-6889412ad5e78f207b7155d81ea6c334e417e21e.zip
Convert CONFIG_SYS_BARGSIZE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_BARGSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/image-board.c6
1 files changed, 2 insertions, 4 deletions
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 <asm/cache.h>
#include <asm/global_data.h>
-#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)
{