In order to build this command we need to have configured some other
board specific features. Express that requirement in Kconfig as well.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 89f102855b0f..ceaa86643cb6 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -407,7 +407,7 @@ config BOOTM_RTEMS
 
 config CMD_SEAMA
        bool "Support read SEAMA NAND images"
-       depends on MTD_RAW_NAND
+       depends on (TARGET_BCMNS || TARGET_BCMNS3) && MTD_RAW_NAND
        help
          Support reading NAND Seattle Image (SEAMA) images.
 
-- 
2.43.0

Reply via email to