]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - board/atmel/sama5d3_xplained/sama5d3_xplained.c
board: sama5d3_xplained: add pda detect call at init time
[thirdparty/u-boot.git] / board / atmel / sama5d3_xplained / sama5d3_xplained.c
index c47f63864b4c5cfa17e2542329745812ec03a2d4..289f8d84999183cfcd0daf8bfedb9be9d6aedf57 100644 (file)
@@ -18,6 +18,8 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+extern void at91_pda_detect(void);
+
 #ifdef CONFIG_NAND_ATMEL
 void sama5d3_xplained_nand_hw_init(void)
 {
@@ -72,6 +74,14 @@ void board_debug_uart_init(void)
 }
 #endif
 
+#ifdef CONFIG_BOARD_LATE_INIT
+int board_late_init(void)
+{
+       at91_pda_detect();
+       return 0;
+}
+#endif
+
 #ifdef CONFIG_BOARD_EARLY_INIT_F
 int board_early_init_f(void)
 {