diff options
author | Eugen Hristev | 2019-09-30 07:29:01 +0000 |
---|---|---|
committer | Eugen Hristev | 2019-10-08 09:16:11 +0300 |
commit | 34c53a9baae687e4eff6c56d477e406af7fbec71 (patch) | |
tree | 652c47ab7a216fe1e25f2a28dcf2cfcf961b9313 /board/atmel/sam9x60ek | |
parent | c69ce8029aea72d1e9d603ddf7762d2aba8cc72e (diff) |
board: atmel: sam9x60ek: add support for PDA detection
Automatically detect PDA at boot.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'board/atmel/sam9x60ek')
-rw-r--r-- | board/atmel/sam9x60ek/sam9x60ek.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/atmel/sam9x60ek/sam9x60ek.c b/board/atmel/sam9x60ek/sam9x60ek.c index e352afc67ed..182b3aeed74 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 |