summaryrefslogtreecommitdiff
path: root/board/atmel/sama5d2_xplained/sama5d2_xplained.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/sama5d2_xplained/sama5d2_xplained.c')
-rw-r--r--board/atmel/sama5d2_xplained/sama5d2_xplained.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/board/atmel/sama5d2_xplained/sama5d2_xplained.c
index 2116b78837..01636fb73d 100644
--- a/board/atmel/sama5d2_xplained/sama5d2_xplained.c
+++ b/board/atmel/sama5d2_xplained/sama5d2_xplained.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_PORTB, 10, 1);
}
+#endif
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)