summaryrefslogtreecommitdiff
path: root/board/atmel
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2019-09-30 07:29:01 +0000
committerEugen Hristev <eugen.hristev@microchip.com>2019-10-08 09:16:11 +0300
commit34c53a9baae687e4eff6c56d477e406af7fbec71 (patch)
tree652c47ab7a216fe1e25f2a28dcf2cfcf961b9313 /board/atmel
parentc69ce8029aea72d1e9d603ddf7762d2aba8cc72e (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')
-rw-r--r--board/atmel/sam9x60ek/sam9x60ek.c5
1 files changed, 5 insertions, 0 deletions
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 <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