From 997ba578e402c45c0f030f35876d76c3fb65c270 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 29 Nov 2015 07:20:09 -0600 Subject: [PATCH] Default value for LOSMART support should be disabled if MTD_SMART is not selected --- nshlib/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nshlib/Kconfig b/nshlib/Kconfig index 872c6c031..685de9d85 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -264,8 +264,8 @@ config NSH_DISABLE_LOSETUP config NSH_DISABLE_LOSMART bool "Disable losmart" - default y if DEFAULT_SMALL - default n if !DEFAULT_SMALL + default y if DEFAULT_SMALL || !MTD_SMART + default n if !DEFAULT_SMALL && MTD_SMART config NSH_DISABLE_LS bool "Disable ls"