Skip to contentSkip to conversation

xilinx: zynqmp: Remove fastboot support from SC defconfig

PATCH Applied Pranav Sanwal 2 participants 3 messages Sep 15 – Sep 25 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xilinx: zynqmp: Remove fastboot support from SC defconfig

Fastboot is not used on the SC platform, drop it. Remove the USB fastboot function along with its MMC flash target and OEM format command support.

Fastboot was the only user of CONFIG_USB_GADGET_DOWNLOAD on this platform, so USB mass storage (CONFIG_CMD_USB_MASS_STORAGE) can no longer be enabled either. Drop it too since it is unused on SC.

Message-ID: <[email protected]>

---
 configs/xilinx_zynqmp_sc_defconfig | 5 -----
 1 file changed, 5 deletions(-)
configs/xilinx_zynqmp_sc_defconfig +0 -5
index 0a05cbb3f76..554cc8808d1 100644
@@ -77,7 +77,6 @@ CONFIG_CMD_SDRAM=y
 CONFIG_CMD_SF_TEST=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_BOOTP_MAY_FAIL=y
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_CMD_TFTPPUT=y
@@ -123,10 +122,6 @@ CONFIG_DFU_RAM=y
 CONFIG_DFU_SF=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1800000
 CONFIG_DMA=y
-CONFIG_USB_FUNCTION_FASTBOOT=y
-CONFIG_FASTBOOT_FLASH=y
-CONFIG_FASTBOOT_FLASH_MMC_DEV=0
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_FPGA_XILINX=y
 CONFIG_FPGA_ZYNQMPPL=y
 CONFIG_GPIO_HOG=y
Signature · 1 line
2.43.7
maintainer Applied
#1 lore raw
Quoted 27 lines · Pranav Sanwal

Fastboot is not used on the SC platform, drop it. Remove the USB fastboot function along with its MMC flash target and OEM format command support.

Fastboot was the only user of CONFIG_USB_GADGET_DOWNLOAD on this platform, so USB mass storage (CONFIG_CMD_USB_MASS_STORAGE) can no longer be enabled either. Drop it too since it is unused on SC.

Message-ID: <[email protected]>

---
  configs/xilinx_zynqmp_sc_defconfig | 5 -----
  1 file changed, 5 deletions(-)
configs/xilinx_zynqmp_sc_defconfig +0 -1
index 0a05cbb3f76..554cc8808d1 100644
@@ -77,7 +77,6 @@ CONFIG_CMD_SDRAM=y
  CONFIG_CMD_SF_TEST=y
  CONFIG_CMD_SPI=y
  CONFIG_CMD_USB=y
-CONFIG_CMD_USB_MASS_STORAGE=y
  CONFIG_BOOTP_MAY_FAIL=y
  CONFIG_BOOTP_BOOTFILESIZE=y
  CONFIG_CMD_TFTPPUT=y

configs/xilinx_zynqmp_sc_defconfig CONFIG_DFU_RAM=y · line 127

Quoted 10 lines
configs/xilinx_zynqmp_sc_defconfig +0 -4
@@ -123,10 +122,6 @@ CONFIG_DFU_RAM=y
  CONFIG_DFU_SF=y
  CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1800000
  CONFIG_DMA=y
-CONFIG_USB_FUNCTION_FASTBOOT=y
-CONFIG_FASTBOOT_FLASH=y
-CONFIG_FASTBOOT_FLASH_MMC_DEV=0
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
  CONFIG_FPGA_XILINX=y
  CONFIG_FPGA_ZYNQMPPL=y
  CONFIG_GPIO_HOG=y

Applied.
M

maintainer
#2 lore raw
Quoted 35 lines · Michal Simek
Quoted 32 lines · Pranav Sanwal

Fastboot is not used on the SC platform, drop it. Remove the USB fastboot function along with its MMC flash target and OEM format command support.

Fastboot was the only user of CONFIG_USB_GADGET_DOWNLOAD on this platform, so USB mass storage (CONFIG_CMD_USB_MASS_STORAGE) can no longer be enabled either. Drop it too since it is unused on SC.

Message-ID: <[email protected]>
---
  configs/xilinx_zynqmp_sc_defconfig | 5 -----

  1 file changed, 5 deletions(-)
configs/xilinx_zynqmp_sc_defconfig +0 -0
index 0a05cbb3f76..554cc8808d1 100644
@@ -77,7 +77,6 @@ CONFIG_CMD_SDRAM=y

  CONFIG_CMD_SF_TEST=y
  CONFIG_CMD_SPI=y
  CONFIG_CMD_USB=y
-CONFIG_CMD_USB_MASS_STORAGE=y
  CONFIG_BOOTP_MAY_FAIL=y
  CONFIG_BOOTP_BOOTFILESIZE=y
  CONFIG_CMD_TFTPPUT=y

configs/xilinx_zynqmp_sc_defconfig +0 -0
@@ -123,10 +122,6 @@ CONFIG_DFU_RAM=y

  CONFIG_DFU_SF=y
  CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1800000
  CONFIG_DMA=y

configs/xilinx_zynqmp_sc_defconfig +0 -2
-CONFIG_USB_FUNCTION_FASTBOOT=y
-CONFIG_FASTBOOT_FLASH=y
Quoted 8 lines
Quoted 5 lines
configs/xilinx_zynqmp_sc_defconfig +0 -2
-CONFIG_FASTBOOT_FLASH_MMC_DEV=0
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y

  CONFIG_FPGA_XILINX=y
  CONFIG_FPGA_ZYNQMPPL=y
  CONFIG_GPIO_HOG=y

Applied.
M

Actually no. This defconfig is in upstream that's why don't understand how you should create this patch.

Thanks,
Michal