]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: fastboot: Kconfig: solve config issue
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 7 Dec 2017 17:26:17 +0000 (18:26 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 21 Feb 2018 19:28:15 +0000 (20:28 +0100)
commitb0cce3f90f546da0c1e0dda5abcaf05d81078b0d
tree2eae678a8b0c6f37dba93c484636b523a9b47088
parent36dd7e7e2563772293d3ecce2b108b9c7300f588
cmd: fastboot: Kconfig: solve config issue

When FASTBOOT is activated, only one the supported device is supported in
code at the same time
- CONFIG_FASTBOOT_FLASH_MMC_DEV
- CONFIG_FASTBOOT_FLASH_NAND_DEV

But Today the choice is not exclusive in Kconfig
and that cause Kconfig issue when :
- CONFIG_FASTBOOT, CONFIG_MMC, CONFIG_NAND are activated
- CONFIG_FASTBOOT_FLASH_MMC_DEV = 0
- CONFIG_FASTBOOT_FLASH_NAND_DEV is not activated

The patch add a choice in Kconfig to select the FLASH provider
- CONFIG_FASTBOOT_FLASH_MMC
- CONFIG_FASTBOOT_FLASH_NAND

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
cmd/fastboot/Kconfig