configs: am335x_evm: Enable Fastboot
diff mbox series

Message ID 20200226175705.13816-1-joe.skb7@gmail.com
State Accepted, archived
Delegated to: Lokesh Vutla
Headers show
Series
  • configs: am335x_evm: Enable Fastboot
Related show

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@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@gmail.com>
> ---
>  configs/am335x_evm_defconfig | 3 +++

Applied to u-boot-ti next.

Thanks and regards,
Lokesh

Patch
diff mbox series

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