u-boot/board/atmel/sama5d27_som1_ek
Josef Lusticky ef5a7438ac board: atmel: Fix compiler warning 'board_usb_hw_init()' not used
Wrap definition of board_usb_hw_init() around with #ifdef CONFIG_CMD_USB
to avoid warning: 'board_usb_hw_init' defined but not used
[-Wunused-function] when compiling without CONFIG_CMD_USB.

This patch makes sama5d27_som1_ek, sama5d2_ptc_ek and sama5d2_xplained
consistent with other boards that use the same #ifdef to avoid the warning.

Cc: Eugen Hristev <eugen.hristev@microchip.com>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Josef Lusticky <josef@lusticky.cz>
Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
2020-05-06 16:18:53 +03:00
..
Kconfig board: atmel: Add SAMA5D27 SOM1 EK board 2017-09-14 16:02:46 -04:00
MAINTAINERS configs: sama5d27_som1_ek: add qspiflash_defconfig 2019-07-09 09:26:43 +03:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sama5d27_som1_ek.c board: atmel: Fix compiler warning 'board_usb_hw_init()' not used 2020-05-06 16:18:53 +03:00