Skip to contentSkip to conversation

cmd:fastboot:Kconfig Enable FASTBOOT_FLASH_NAND for SUNXI_NAND devices

PATCH New Benjamin Young 2 participants 2 messages Oct 13, 2017 – Oct 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd:fastboot:Kconfig Enable FASTBOOT_FLASH_NAND for SUNXI_NAND devices

Encountered an issue where fastboot can't write to NAND on a CHIP_pro, the symbol was neither present in the board's config header, nor the Kconfig, this patch puts it in the Kconfig and defaults on when SUNXI_NAND is selected.

---

 cmd/fastboot/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
cmd/fastboot/Kconfig +9 -0
index 214bbc23fc..a2afb809bb 100644
@@ -81,6 +81,15 @@ config FASTBOOT_FLASH_MMC_DEV
          regarding the non-volatile storage device. Define this to
          the eMMC device that fastboot should use to store the image.
 
+config FASTBOOT_FLASH_NAND_DEV
+       int "Define FASTBOOT NAND FLASH default device"
+       depends on FASTBOOT_FLASH && NAND
+       default 0 if ARCH_SUNXI && NAND_SUNXI
+       help
+         The fastboot "flash" command requires additional information
+         regarding the non-volatile storage device. Define this to
+         the NAND device that fastboot should use to store the image.
+
 config FASTBOOT_GPT_NAME
        string "Target name for updating GPT"
        depends on FASTBOOT_FLASH
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 cmd:fastboot:Kconfig Enable FASTBOOT_FLASH_NAND for SUNXI_NAND devices

Quoted 6 lines · Benjamin Young

Encountered an issue where fastboot can't write to NAND on a CHIP_pro, the symbol was neither present in the board's config header, nor the Kconfig, this patch puts it in the Kconfig and defaults on when SUNXI_NAND is selected.

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171016/cda2a8de/attachment.sig>