summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-09-25 19:43:25 -0600
committerTom Rini <trini@konsulko.com>2021-10-08 15:53:26 -0400
commit806d1ff37b0afe8cbf5658dc01876f6321aed235 (patch)
tree7d701ff07e0e9a6e17bf02d10c2cb16e51dd8b31 /common
parente7d285b2f38202f9d7ffbdcae59283f08bafd8b9 (diff)
image: Drop IMAGE_BOOT_GET_CMDLINE
This is not needed with Kconfig, since we can use IS_ENABLED() easily enough and the board code is now in a separate file. Update the only place where this is used and drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/image-board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-board.c b/common/image-board.c
index cb2479f2f3..6565f014f7 100644
--- a/common/image-board.c
+++ b/common/image-board.c
@@ -898,7 +898,7 @@ int image_setup_linux(bootm_headers_t *images)
if (CONFIG_IS_ENABLED(OF_LIBFDT))
boot_fdt_add_mem_rsv_regions(lmb, *of_flat_tree);
- if (IMAGE_BOOT_GET_CMDLINE) {
+ if (IS_ENABLED(CONFIG_SYS_BOOT_GET_CMDLINE)) {
ret = boot_get_cmdline(lmb, &images->cmdline_start,
&images->cmdline_end);
if (ret) {