Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D00F2C433F5 for ; Thu, 13 Jan 2022 13:23:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9BC91832DA; Thu, 13 Jan 2022 14:23:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1642080224; bh=whQnFhC3ASXmleTIV86uZNjFSAYvEGRNrRb+mso+Ce4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ZUO5SxmOuzJuFLui1LF43rmPrmCXcrpz8LD4ALr43hrPeMa5/AHXzBeCKBF7FrANL ZAaYEmFhAtWmxWP8BoULmZmzXs1x+Y3dTJxk1P9HJAhVxo2EKyK4WvaycvUFI5tpMP W0mWv6DwlpXRC8ohmw8QvpI5wLORMD9Q8QWh8QQg7qo2SRbPi9tBr+qVsRRiOi53yO 2wBw68YAQx15p8c9HP9y15hvghh4pH2KKWpDcUaYMPB+X2p/uA+IIcnrFeo/vbZk/a /PdWNs/LbkDoOD0ufTqAo9d5T9zHU86zH5T28iv9509bgcBa+rIGlGGYzVu0DkC3P3 Mz9IOBUQTGOiw== Received: by phobos.denx.de (Postfix, from userid 109) id 21668832E3; Thu, 13 Jan 2022 14:23:43 +0100 (CET) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [IPv6:2001:67c:2050:1::465:204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C097B831F0 for ; Thu, 13 Jan 2022 14:23:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4JZQ9m1bWvzQk4J; Thu, 13 Jan 2022 14:23:40 +0100 (CET) Message-ID: <09206d75-b39b-91c6-4704-6ca59c41a281@denx.de> Date: Thu, 13 Jan 2022 14:23:33 +0100 MIME-Version: 1.0 Subject: Re: [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init Content-Language: en-US To: Tony Dinh , U-Boot Mailing List Cc: =?UTF-8?Q?Marek_Beh=ef=bf=bdn?= , =?UTF-8?B?UGFsaSBSb2jvv71y?= , Luka Perkov , Tom Rini , Luka Perkov References: <20220102045739.29927-1-mibodhi@gmail.com> <20220102045739.29927-3-mibodhi@gmail.com> From: Stefan Roese In-Reply-To: <20220102045739.29927-3-mibodhi@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 1/2/22 05:57, Tony Dinh wrote: > - Add board_late_init function to enable pci_init > > Signed-off-by: Tony Dinh > --- > > 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 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@denx.de