From: Mathieu Othacehe <othacehe@gnu.org>
Date: Thu, 21 Mar 2024 14:45:41 +0000 (+0100)
Subject: configs: imx93-phyboard-segin: Add fastboot support
X-Git-Tag: v2025.01-rc5-pxa1908~555^2~15^2~1
X-Git-Url: http://git.dujemihanovic.xyz/img/login.html?a=commitdiff_plain;h=f4b6c3ad25d6cbb4e5daced8693794b6efce1c77;p=u-boot.git

configs: imx93-phyboard-segin: Add fastboot support

Enable the `fastboot` command.

Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---

diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig
index 0345e7deea..54215c51c0 100644
--- a/configs/imx93-phyboard-segin_defconfig
+++ b/configs/imx93-phyboard-segin_defconfig
@@ -94,6 +94,12 @@ CONFIG_SPL_CLK_IMX93=y
 CONFIG_CLK_IMX93=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_FASTBOOT_BUF_ADDR=0x82800000
+CONFIG_FASTBOOT_BUF_SIZE=0x20000000
+CONFIG_FASTBOOT_FLASH=y
+CONFIG_FASTBOOT_UUU_SUPPORT=y
+CONFIG_FASTBOOT_FLASH_MMC_DEV=0
 CONFIG_GPIO_HOG=y
 CONFIG_IMX_RGPIO2P=y
 CONFIG_DM_I2C=y