diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-09-18 10:35:43 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-28 20:22:39 -0400 |
commit | 559ff9e875ba72f3da9f3198dbd3afdfb3c48089 (patch) | |
tree | 589b17d5451fbadea6d5125bcad1d07029a5da29 | |
parent | afaea1f56c45f93489cad1a3a3b0c1fbd820fd59 (diff) | |
download | u-boot-559ff9e875ba72f3da9f3198dbd3afdfb3c48089.tar.gz u-boot-559ff9e875ba72f3da9f3198dbd3afdfb3c48089.tar.bz2 u-boot-559ff9e875ba72f3da9f3198dbd3afdfb3c48089.zip |
board: sama5d2_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/sama5d2_xplained/sama5d2_xplained.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/board/atmel/sama5d2_xplained/sama5d2_xplained.c index 592b4d82dd..fccd80ec70 100644 --- a/board/atmel/sama5d2_xplained/sama5d2_xplained.c +++ b/board/atmel/sama5d2_xplained/sama5d2_xplained.c @@ -15,6 +15,8 @@ #include <asm/arch/gpio.h> #include <asm/arch/sama5d2.h> +extern void at91_pda_detect(void); + DECLARE_GLOBAL_DATA_PTR; static void board_usb_hw_init(void) @@ -28,6 +30,7 @@ int board_late_init(void) #ifdef CONFIG_DM_VIDEO at91_video_show_board_info(); #endif + at91_pda_detect(); return 0; } #endif |