projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
board: atmel: Fix compiler warning 'board_usb_hw_init()' not used
[oweals/u-boot.git]
/
board
/
atmel
/
sama5d27_som1_ek
/
sama5d27_som1_ek.c
diff --git
a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
index f3816c83345ed9a2cae0d5aaf942eb3eed605c56..376562cd0e7d0f368313aa4b283813af2b1097b3 100644
(file)
--- a/
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
+++ b/
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
@@
-20,10
+20,12
@@
extern void at91_pda_detect(void);
DECLARE_GLOBAL_DATA_PTR;
+#ifdef CONFIG_CMD_USB
static void board_usb_hw_init(void)
{
atmel_pio4_set_pio_output(AT91_PIO_PORTA, 27, 1);
}
+#endif
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)