|
@@ -20,6 +20,8 @@
|
|
|
#include <asm/arch/sama5d2.h>
|
|
|
#include <asm/arch/sama5d2_smc.h>
|
|
|
|
|
|
+extern void at91_pda_detect(void);
|
|
|
+
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
|
|
#ifdef CONFIG_NAND_ATMEL
|
|
@@ -65,6 +67,14 @@ static void board_nand_hw_init(void)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_BOARD_LATE_INIT
|
|
|
+int board_late_init(void)
|
|
|
+{
|
|
|
+ at91_pda_detect();
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
static void board_usb_hw_init(void)
|
|
|
{
|
|
|
atmel_pio4_set_pio_output(AT91_PIO_PORTB, 12, ATMEL_PIO_PUEN_MASK);
|