mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
board: sama5d4_xplained: add pda detect call at init time
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
parent
cc1bdd23c0
commit
95501d5242
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
|||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
extern void at91_pda_detect(void);
|
||||
|
||||
#ifdef CONFIG_NAND_ATMEL
|
||||
static void sama5d4_xplained_nand_hw_init(void)
|
||||
{
|
||||
|
@ -71,6 +73,7 @@ static void sama5d4_xplained_usb_hw_init(void)
|
|||
#ifdef CONFIG_BOARD_LATE_INIT
|
||||
int board_late_init(void)
|
||||
{
|
||||
at91_pda_detect();
|
||||
#ifdef CONFIG_DM_VIDEO
|
||||
at91_video_show_board_info();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue