X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=common%2Fcmd_bootce.c;h=7103b7f898a238888810eb160991859db770a36b;hp=9ba4884e17461039f39a0fe369091653bf17207d;hb=061e8774d10136f9291e743bbd923e73bda7e95e;hpb=f19d793b40e0a957036b2b40c2e2aa7400c3cbbf diff --git a/common/cmd_bootce.c b/common/cmd_bootce.c index 9ba4884e17..7103b7f898 100644 --- a/common/cmd_bootce.c +++ b/common/cmd_bootce.c @@ -141,7 +141,8 @@ static void ce_setup_std_drv_globals(ce_std_driver_globals *std_drv_glb) strncpy(std_drv_glb->mtdparts, mtdparts, max_len); std_drv_glb->mtdparts[max_len - 1] = '\0'; } else { - printf("Failed to get mtdparts environment variable\n"); + if (CONFIG_IS_ENABLED(CMD_MTDPARTS)) + printf("Failed to get mtdparts environment variable\n"); } }