mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-28 01:22:20 +00:00
board: atmel: sam9x60ek: add support for PDA detection
Automatically detect PDA at boot. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
parent
c69ce8029a
commit
34c53a9baa
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
||||||
#include <debug_uart.h>
|
#include <debug_uart.h>
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
|
|
||||||
|
extern void at91_pda_detect(void);
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
void at91_prepare_cpu_var(void);
|
void at91_prepare_cpu_var(void);
|
||||||
|
@ -80,6 +82,9 @@ static void sam9x60ek_nand_hw_init(void)
|
||||||
int board_late_init(void)
|
int board_late_init(void)
|
||||||
{
|
{
|
||||||
at91_prepare_cpu_var();
|
at91_prepare_cpu_var();
|
||||||
|
|
||||||
|
at91_pda_detect();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue