aboutsummaryrefslogtreecommitdiff
path: root/common/image-board.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/image-board.c')
-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 cb2479f2f30..6565f014f7e 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) {