mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
board: sam9x60_curiosity: add pda detect call at init time
Call the PDA detection mechanism at boot time so that we can have the pda environment variable ready for use. Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
This commit is contained in:
parent
63aee5491b
commit
af64b436b1
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
||||||
#include <asm/io.h>
|
#include <asm/io.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);
|
||||||
|
@ -27,6 +29,8 @@ int board_late_init(void)
|
||||||
{
|
{
|
||||||
at91_prepare_cpu_var();
|
at91_prepare_cpu_var();
|
||||||
|
|
||||||
|
at91_pda_detect();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue