diff mbox series

configs: am335x_evm: Enable Fastboot

Message ID 20200226175705.13816-1-joe.skb7@gmail.com
State Accepted
Commit 4ca78154e103f27dd767b11ecc188d8f1059aa60
Headers show
Series configs: am335x_evm: Enable Fastboot | expand

Commit Message

Sam Protsenko Feb. 26, 2020, 5:57 p.m. UTC
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 at gmail.com>
---
 configs/am335x_evm_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Lokesh Vutla March 3, 2020, 7:43 a.m. UTC | #1
On 26/02/20 11:27 PM, Sam Protsenko wrote:
> 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 at gmail.com>
> ---
>  configs/am335x_evm_defconfig | 3 +++

Applied to u-boot-ti next.

Thanks and regards,
Lokesh
diff mbox series

Patch

diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index b5579f6686..2fe9f86f1a 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -44,6 +44,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