]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am335x_evm: Enable Fastboot
authorSam Protsenko <joe.skb7@gmail.com>
Wed, 26 Feb 2020 17:57:05 +0000 (19:57 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 3 Mar 2020 07:40:37 +0000 (13:10 +0530)
This config option was present in am335x_boneblack_defconfig, but we
have to use generic am335x_evm_defconfig now, as BBB defconfig was
removed in commit 8fa7f65dd02c ("configs: Remove
am335x_boneblack_defconfig"). So this patch merely brings that option
back.

Tested on BeagleBone Black:

    => fastboot 0
    $ fastboot flash rootfs rootfs.img

Fixes: 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig")
Signed-off-by: Sam Protsenko <joe.skb7@gmail.com>
configs/am335x_evm_defconfig

index ddf47a0b02f3b8a7fac790be3e2a705ae00c014b..66899c277bffa0a21d8ac596641f125d28f1431a 100644 (file)
@@ -45,6 +45,9 @@ CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_FASTBOOT_FLASH=y
+CONFIG_FASTBOOT_FLASH_MMC_DEV=1
+CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_DM_I2C=y
 CONFIG_MISC=y
 CONFIG_DM_MMC=y