cmd/Kconfig: Tighten dependencies on CMD_SEAMA
authorTom Rini <trini@konsulko.com>
Wed, 2 Jul 2025 01:05:08 +0000 (19:05 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 10 Jul 2025 14:41:07 +0000 (08:41 -0600)
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 <trini@konsulko.com>
cmd/Kconfig

index 313db79..2d3a806 100644 (file)
@@ -414,7 +414,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.