diff options
Diffstat (limited to 'arch/arc/lib/bootm.c')
-rw-r--r-- | arch/arc/lib/bootm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c index ed6c5dfa584..628addd87ed 100644 --- a/arch/arc/lib/bootm.c +++ b/arch/arc/lib/bootm.c @@ -29,9 +29,11 @@ static int boot_prep_linux(bootm_headers_t *images) { int ret; - ret = image_setup_linux(images); - if (ret) - return ret; + if (CONFIG_IS_ENABLED(LMB)) { + ret = image_setup_linux(images); + if (ret) + return ret; + } return board_prep_linux(images); } |