diff options
author | Tom Rini <trini@konsulko.com> | 2020-06-04 10:21:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-04 10:21:51 -0400 |
commit | c27178ba3649f539c9f1890ea147f4c5415f63b5 (patch) | |
tree | 56ba0e3b96d99f609d033f6fc3f2bebb981c1e04 /board/atmel | |
parent | 1b6ae82a5abb4cbedb0d6cb262526173f4efa486 (diff) | |
parent | d32cbefc8ac82bd0206f806efb07df82c4b92d5b (diff) | |
download | u-boot-c27178ba3649f539c9f1890ea147f4c5415f63b5.tar.gz u-boot-c27178ba3649f539c9f1890ea147f4c5415f63b5.tar.bz2 u-boot-c27178ba3649f539c9f1890ea147f4c5415f63b5.zip |
Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians/u-boot-atmel
First set of u-boot-atmel fixes for 2020.07 cycle
This set includes just two small commits that fix a build warning and
add a missing serial node.
Diffstat (limited to 'board/atmel')
-rw-r--r-- | board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 2 | ||||
-rw-r--r-- | board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 2 | ||||
-rw-r--r-- | board/atmel/sama5d2_xplained/sama5d2_xplained.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c index f3816c8334..376562cd0e 100644 --- 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) diff --git a/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c b/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c index 4b3a703f26..b0a23b02db 100644 --- a/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c +++ b/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c @@ -76,10 +76,12 @@ int board_late_init(void) } #endif +#ifdef CONFIG_CMD_USB static void board_usb_hw_init(void) { atmel_pio4_set_pio_output(AT91_PIO_PORTB, 12, ATMEL_PIO_PUEN_MASK); } +#endif #ifdef CONFIG_DEBUG_UART_BOARD_INIT static void board_uart0_hw_init(void) 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) |