u-boot/arch/arm
Venkatesh Yadav Abbarapu b764e84f9f zynqmp: config: Add proper dependencies for USB
When CONFIG_CMD_USB and CONFIG_USB are disabled, still some compilation
errors are seen as below.

In file included from include/configs/xilinx_zynqmp.h:173,
                 from include/config.h:3,
                 from include/common.h:16,
                 from env/common.c:10:
include/config_distro_bootcmd.h:302:9: error: expected '}' before 'BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB'
  302 |         BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/config_distro_bootcmd.h:302:9: note: in definition of macro
'BOOTENV_DEV_NAME_USB'
  302 |         BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/configs/xilinx_zynqmp.h:77:41: note: in expansion of macro
'BOOTENV_DEV_NAME'
   77 | # define BOOT_TARGET_DEVICES_USB(func)  func(USB, usb, 0)
   func(USB, usb, 1)
      |                                         ^~~~
include/configs/xilinx_zynqmp.h:168:9: note: in expansion of macro
'BOOT_TARGET_DEVICES_USB'
  168 |         BOOT_TARGET_DEVICES_USB(func) \
      |         ^~~~~~~~~~~~~~~~~~~~~~~
include/config_distro_bootcmd.h:454:25: note: in expansion of macro
'BOOT_TARGET_DEVICES'
  454 |         "boot_targets=" BOOT_TARGET_DEVICES(BOOTENV_DEV_NAME) "\0"
      |                         ^~~~~~~~~~~~~~~~~~~
include/config_distro_bootcmd.h:474:9: note: in expansion of macro
'BOOTENV_BOOT_TARGETS'
  474 |         BOOTENV_BOOT_TARGETS \
      |         ^~~~~~~~~~~~~~~~~~~~
include/configs/xilinx_zynqmp.h:179:9: note: in expansion of macro
'BOOTENV'
  179 |         BOOTENV
      |         ^~~~~~~
include/env_default.h:120:9: note: in expansion of macro
'CFG_EXTRA_ENV_SETTINGS'
  120 |         CFG_EXTRA_ENV_SETTINGS
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from env/common.c:32:
include/env_default.h:27:36: note: to match this '{'
   27 | const char default_environment[] = {
      |                                    ^
scripts/Makefile.build:256: recipe for target 'env/common.o' failed
make[1]: *** [env/common.o] Error 1
Makefile:1853: recipe for target 'env' failed
make: *** [env] Error 2
make: *** Waiting for unfinished jobs....

Add CONFIG_USB_STORAGE as dependency for USB related macro's such as
BOOT_TARGET_DEVICES_USB() and DFU_DEFAULT_POLL_TIMEOUT and
CONFIG_THOR_RESET_OFF.

Remove CONFIG_ZYNQMP_USB from Kconfig and also from defconfig since it
is not used anywhere else.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230904031528.11817-3-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2023-09-21 13:20:12 +02:00
..
cpu freescale: Drop call to init_func_vid() in the init sequence 2023-08-31 13:16:55 -04:00
dts arm64: zynqmp: Update ECAM size to discover up to 256 buses 2023-09-21 13:20:11 +02:00
include Prepare v2023.10-rc3 2023-08-21 17:32:17 -04:00
lib Prepare v2023.10-rc3 2023-08-21 17:32:17 -04:00
mach-apple arm: apple: Add initial Apple M2 Pro/Max support 2023-05-30 15:13:44 -04:00
mach-aspeed
mach-at91 board: at91: sama5d29_curiosity: add initial support for sama5d29_curiosity 2023-08-07 11:42:16 +03:00
mach-bcm283x arm: bcm283x undefined reference to "print_cpuinfo" 2023-08-17 16:39:20 -04:00
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci include: Remove unused header files 2023-05-31 12:31:47 -04:00
mach-exynos
mach-highbank
mach-histb arm: histb: hi3798mv200: add initial support for Hi3798MV200 HC2910-2AGHD05 board 2023-05-03 09:05:24 -04:00
mach-hpe
mach-imx Prepare v2023.10-rc4 2023-09-04 10:51:58 -04:00
mach-integrator
mach-ipq40xx
mach-k3 arm: mach-k3: am625: Add support for UDA FS 2023-09-08 10:07:12 -04:00
mach-keystone include: Remove unused header files 2023-05-31 12:31:47 -04:00
mach-kirkwood
mach-lpc32xx
mach-mediatek arm: mediatek: add support for MediaTek MT7988 SoC 2023-08-03 09:40:50 -04:00
mach-meson arch/arm: meson: sm: introduce power domain functions 2023-06-28 10:05:34 +02:00
mach-mvebu common: return type board_get_usable_ram_top 2023-08-15 18:21:17 +02:00
mach-nexell
mach-npcm arch: arm: npcm8xx: add cpu version and 4G ram support 2023-07-14 12:52:18 -04:00
mach-octeontx
mach-octeontx2
mach-omap2 am33xx: ignore return value from usb_ether_init() 2023-09-18 17:34:14 -04:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile ARM: rmobile: Clean up rmobile_cpuinfo_idx() 2023-09-06 13:47:44 -04:00
mach-rockchip board: usb: Replace legacy usb_gadget_handle_interrupts() 2023-09-15 23:38:02 +02:00
mach-s5pc1xx
mach-snapdragon
mach-socfpga
mach-sti
mach-stm32
mach-stm32mp Prepare v2023.10-rc3 2023-08-21 17:32:17 -04:00
mach-sunxi Prepare v2023.10-rc3 2023-08-21 17:32:17 -04:00
mach-tegra ARM: tegra: Changes for v2023.10-rc1 2023-08-18 10:05:04 -04:00
mach-u8500
mach-uniphier arm: uniphier: fix header inclusion guard 2023-05-31 10:11:46 -04:00
mach-versal arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
mach-versal-net xilinx: Consolidate zynqmp_mmio_read/write in zynqmp_firmware.h 2023-07-21 09:00:38 +02:00
mach-versatile
mach-zynq
mach-zynqmp zynqmp: config: Add proper dependencies for USB 2023-09-21 13:20:12 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk arm: Centralize fixed register logic 2023-04-25 15:31:27 -04:00
Kconfig arm: qemu: Enable usb keyboard as an input device 2023-08-24 16:47:25 -04:00
Kconfig.debug
Makefile arm: add support for Hisilicon HiSTB family SoCs 2023-05-03 09:05:24 -04:00