瀏覽代碼

board: sama5d27_som1_ek: 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>
Eugen Hristev 6 年之前
父節點
當前提交
67f551af89
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c

+ 3 - 0
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.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