[PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init

Stefan Roese sr at denx.de
Thu Jan 13 14:23:33 CET 2022


On 1/2/22 05:57, Tony Dinh wrote:
> - Add board_late_init function to enable pci_init
> 
> Signed-off-by: Tony Dinh <mibodhi at gmail.com>
> ---
> 
>   board/iomega/iconnect/iconnect.c | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c
> index fe4be28b13..9e123aab00 100644
> --- a/board/iomega/iconnect/iconnect.c
> +++ b/board/iomega/iconnect/iconnect.c
> @@ -92,3 +92,10 @@ int board_init(void)
>   
>   	return 0;
>   }
> +
> +int board_late_init(void)
> +{
> +	/* Do late init to ensure successful enumeration of PCIe devices */
> +	pci_init();

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> +	return 0;
> +}
> 

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list