]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: atmel: sam9x60ek: add support for PDA detection
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 30 Sep 2019 07:29:01 +0000 (07:29 +0000)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 8 Oct 2019 06:16:11 +0000 (09:16 +0300)
Automatically detect PDA at boot.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
board/atmel/sam9x60ek/sam9x60ek.c

index e352afc67ed3fbd0aa94b9f9730b7ad372665805..182b3aeed74cc7f3279934626a37fafbfb186ddc 100644 (file)
@@ -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