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 F3AE4C433F5 for ; Sun, 2 Jan 2022 04:58:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F16FD83094; Sun, 2 Jan 2022 05:58:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XKkLho2b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DBCC683041; Sun, 2 Jan 2022 05:58:52 +0100 (CET) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3AC2E83094 for ; Sun, 2 Jan 2022 05:58:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mibodhi@gmail.com Received: by mail-qk1-x736.google.com with SMTP id i130so27328094qke.3 for ; Sat, 01 Jan 2022 20:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LOjfOdUoiY8jU6xpP3CRWbhRYB0U0Xm0tsKjNfGNrOA=; b=XKkLho2brlKJ8PwJNtRbCQMJcyJsljZEcF/bsXcFWbo7ttITnWPE+TmKtidjQhhXFR LqzXe664E1c/WC6WyZuUkaMSqRGsQ9f9K54BLSf1nvl+yCAOG5Q4yLfN8sZ1EruzOkAk gXJKS2qghBu+4olgixKoUW92GWKq1R6zc9BIa7M5FjzagkdLP7oVPhwWgpLPhUNXzkNy 6x38O666bngI0yvVTQ83P902Yw68sRDZuSeSvawiNLbNMElddnvIAcbZUYizT/9sx8ER 9STkAVusD0KTUx5bwPSCCfwJYZ+GxeJ1HxbnVhQEuzcopU28uttnN2qsLpGxyH5ThDME KqcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LOjfOdUoiY8jU6xpP3CRWbhRYB0U0Xm0tsKjNfGNrOA=; b=bdAGrKihNAkcUm31pn4632Fvj/65qMtsEfWXWXHLgeXm2BnoUAAq42dcmXSBQeKPal 00UKp3K1KyDiPJE+Dcob3ClPS7sDpXQNnX7KnFyV4tgmeJnETJ+NLvFJGnke5GzV2m7h KJZPKAGZX0YS+Ie9nOPP2FvRqUDswdRwX5UJq4qtZ/1+KjiuJKTL2LUnOWxIqzqvIsbI E+h7vFsn/o1wvFqOUOCDsHM7nWEthrQ7nFLTOmnKgOI/c8m+Blfq3smurniDfn0ebZHP 7yf7jpeoLF2SzfqcS1jSsKf68CvDWZsThsveEaL8xzTEmiB3ZOTVuPDf83jX51PLX0LP iT0g== X-Gm-Message-State: AOAM5328+7gLuXaXuqUXb/c+xm/mYgyP9uSrF4gyXNHit70vj+NUQqcS cnip+LbPN9oQ902GNW4Bkdqi9VhPVkCvNQ== X-Google-Smtp-Source: ABdhPJxJwyOzQZHL86ekGCm6RaJAh/CMLcIOYGgC4g1HmozhxW9sadVnPJ+7m4qfj2WgiECiL43few== X-Received: by 2002:a37:b142:: with SMTP id a63mr28891771qkf.704.1641099526091; Sat, 01 Jan 2022 20:58:46 -0800 (PST) Received: from localhost.localdomain (76-229-100-169.lightspeed.irvnca.sbcglobal.net. [76.229.100.169]) by smtp.gmail.com with ESMTPSA id l13sm25563594qkp.109.2022.01.01.20.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 20:58:45 -0800 (PST) From: Tony Dinh To: U-Boot Mailing List , Stefan Roese Cc: =?UTF-8?q?Marek=20Beh=FAn?= , =?UTF-8?q?Pali=20Roh=E1r?= , Luka Perkov , Tom Rini , Tony Dinh , Luka Perkov Subject: [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init Date: Sat, 1 Jan 2022 20:57:38 -0800 Message-Id: <20220102045739.29927-3-mibodhi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220102045739.29927-1-mibodhi@gmail.com> References: <20220102045739.29927-1-mibodhi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 - 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(); + return 0; +} -- 2.30.2