From: Eugen Hristev Date: Mon, 30 Sep 2019 07:29:01 +0000 (+0000) Subject: board: atmel: sam9x60ek: add support for PDA detection X-Git-Tag: v2020.01-rc1~36^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=34c53a9baae687e4eff6c56d477e406af7fbec71;p=oweals%2Fu-boot.git board: atmel: sam9x60ek: add support for PDA detection Automatically detect PDA at boot. Signed-off-by: Eugen Hristev --- diff --git a/board/atmel/sam9x60ek/sam9x60ek.c b/board/atmel/sam9x60ek/sam9x60ek.c index e352afc67e..182b3aeed7 100644 --- a/board/atmel/sam9x60ek/sam9x60ek.c +++ b/board/atmel/sam9x60ek/sam9x60ek.c @@ -16,6 +16,8 @@ #include #include +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