diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-09-18 10:35:47 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-28 20:22:41 -0400 |
commit | 95501d5242cbd27f877d029b3c508d18dabf9b48 (patch) | |
tree | dbaf9fe98c85b7d393537027d4b71c5e8af18862 | |
parent | cc1bdd23c0c3a30456bd9bd069afe7b6ca1e4f6e (diff) | |
download | u-boot-95501d5242cbd27f877d029b3c508d18dabf9b48.tar.gz |
board: sama5d4_xplained: add pda detect call at init time
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
-rw-r--r-- | board/atmel/sama5d4_xplained/sama5d4_xplained.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c index 526c6c7f70..4da64890b3 100644 --- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c +++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c @@ -17,6 +17,8 @@ DECLARE_GLOBAL_DATA_PTR; +extern void at91_pda_detect(void); + #ifdef CONFIG_NAND_ATMEL static void sama5d4_xplained_nand_hw_init(void) { @@ -71,6 +73,7 @@ static void sama5d4_xplained_usb_hw_init(void) #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { + at91_pda_detect(); #ifdef CONFIG_DM_VIDEO at91_video_show_board_info(); #endif |