From: Eugen Hristev <eugen.hris...@microchip.com>

Automatically detect PDA at boot.

Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com>
---
 board/atmel/sam9x60ek/sam9x60ek.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/board/atmel/sam9x60ek/sam9x60ek.c 
b/board/atmel/sam9x60ek/sam9x60ek.c
index e352afc..182b3ae 100644
--- a/board/atmel/sam9x60ek/sam9x60ek.c
+++ b/board/atmel/sam9x60ek/sam9x60ek.c
@@ -16,6 +16,8 @@
 #include <debug_uart.h>
 #include <asm/mach-types.h>
 
+extern void at91_pda_detect(void);
+
 DECLARE_GLOBAL_DATA_PTR;
 
 void at91_prepare_cpu_var(void);
@@ -80,6 +82,9 @@ static void sam9x60ek_nand_hw_init(void)
 int board_late_init(void)
 {
        at91_prepare_cpu_var();
+
+       at91_pda_detect();
+
        return 0;
 }
 #endif
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to