artik053/sidk_s5jt200: modify a depnedancy of flash configurations
authorsunghan <sh924.chang@samsung.com>
Fri, 1 Sep 2017 00:45:33 +0000 (09:45 +0900)
committersunghan <sh924.chang@samsung.com>
Fri, 1 Sep 2017 00:45:33 +0000 (09:45 +0900)
For flash_part config, mtd should be enabled but disable_mountpoint
is not needed. But for automount config, disable_mountpoint should
be checked.

os/arch/arm/src/artik053/Kconfig
os/arch/arm/src/sidk_s5jt200/Kconfig

index 3d999e6..4cc49c7 100644 (file)
@@ -42,7 +42,7 @@ config ARTIK053_FLASH_PART
        select MTD
        select MTD_PARTITION
        select MTD_PROGMEM
-       depends on S5J_SFLASH && !DISABLE_MOUNTPOINT
+       depends on S5J_SFLASH
        ---help---
                Enables creation of partitions on the FLASH
 
@@ -81,6 +81,7 @@ config ARTIK053_AUTOMOUNT
        bool "Automount partitions"
        default n
        depends on ARTIK053_FLASH_PART
+       depends on !DISABLE_MOUNTPOINT
        ---help---
                If enabled, mount userrw and sssrw partitions at boot.
 
index 6d64911..0ee340b 100644 (file)
@@ -66,6 +66,9 @@ config SIDK_S5JT200_FLASH_MINOR
 config SIDK_S5JT200_FLASH_PART
        bool "Enable partition support on FLASH"
        default n
+       select MTD
+       select MTD_PARTITION
+       select MTD_PROGMEM
        depends on S5J_SFLASH
        ---help---
                Enables creation of partitions on the FLASH
@@ -96,6 +99,7 @@ config SIDK_S5JT200_AUTOMOUNT
        bool "Automount partitions"
        default n
        depends on SIDK_S5JT200_FLASH_PART
+       depends on !DISABLE_MOUNTPOINT
        ---help---
                If enabled, mount userrw and sssrw partitions at boot.