From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB7E6C4338F for ; Fri, 6 Aug 2021 12:47:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 199BD61181 for ; Fri, 6 Aug 2021 12:47:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 199BD61181 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 719588310F; Fri, 6 Aug 2021 14:47:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="RfkAZInE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DD13A82F38; Fri, 6 Aug 2021 14:47:02 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 4876782C8C for ; Fri, 6 Aug 2021 14:46:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72d.google.com with SMTP id t3so8417556qkg.11 for ; Fri, 06 Aug 2021 05:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=52F6pDlIznEijD86QqDnQY2JS5mH0u8yLiSF4xGOkmg=; b=RfkAZInErzbwMD9vo6KXs6/GIV/xdptLAB2p4LcVgs5/W2gczdDpUdur4xWgMYrvjp AcfZu5Txui/zWZsL4sh14y57dkfzMt+Q3ZfhKB1kzegtazgx+/nKrW1/E3jt7vjFLzZo aD5GCuGg48/EbdM946FRlheJZsAg0UHVPB8iU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=52F6pDlIznEijD86QqDnQY2JS5mH0u8yLiSF4xGOkmg=; b=TLO51VxnplUuNn9VMC5CpNjHRzRiqjWXmakf1yDdmnoga5PlDfDzWWYwHkbKJKnRj2 j4MoZcC6rPjdvjdcuyXDmC8oFk1gmFyIcPMJ6W9f8JF2q3r6tKvel3SVyS0HKr3eLBbA 5unpOYTR2jxnYKBvnlI76GxXafzLJlU/TJ8aE21LoN0F+ahAS55uoNISVSK3xblBTz49 INlEn64xAXV27EqmXjxX+z4OFX28wEvw9AyygPyCaG1EA07KZRLh0avy4p7NZN2NlyQb btOOzASVKyub4nsUCmtnleHTOJ4e00YgAqFosjH0kDCR24TxpONBzg8gDxAUX7XHy1UN bNHA== X-Gm-Message-State: AOAM530amX3Cgzo7lLlpMFM39pq1p11IEeIG83JNydtkDiclLhBA2jGX 6eyPMA42Y1mANb6dl5XGHo+IRQ== X-Google-Smtp-Source: ABdhPJxOhmi1uoxBDdWl8PE+kM4r99bJMNZktwWFLkE/mqujVYzaBngNJc/9/m7+jg/VQCTVzsa0bA== X-Received: by 2002:a05:620a:129a:: with SMTP id w26mr6938028qki.330.1628254017148; Fri, 06 Aug 2021 05:46:57 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-91f5-8795-37c3-31a0.res6.spectrum.com. [2603:6081:7b01:cbda:91f5:8795:37c3:31a0]) by smtp.gmail.com with ESMTPSA id g26sm4436701qkm.122.2021.08.06.05.46.56 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Aug 2021 05:46:56 -0700 (PDT) Date: Fri, 6 Aug 2021 08:46:54 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Albert Aribaud Subject: Re: [PATCH v2 23/32] pci: arm: mvebu: Drop DM_PCI check from Message-ID: <20210806124654.GU858@bill-the-cat> References: <20210802005446.2267075-1-sjg@chromium.org> <20210802005446.2267075-24-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vBRosIkLXbYTRpGW" Content-Disposition: inline In-Reply-To: <20210802005446.2267075-24-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 --vBRosIkLXbYTRpGW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2021 at 06:54:36PM -0600, Simon Glass wrote: > We don't need this check anymore since when PCI is enabled, driver model > is always used. >=20 > Use CONFIG_PCI instead. >=20 > Signed-off-by: Simon Glass > --- >=20 > (no changes since v1) >=20 > arch/arm/mach-mvebu/arm64-common.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >=20 > diff --git a/arch/arm/mach-mvebu/arm64-common.c b/arch/arm/mach-mvebu/arm= 64-common.c > index fa687d8abbb..06c4994e065 100644 > --- a/arch/arm/mach-mvebu/arm64-common.c > +++ b/arch/arm/mach-mvebu/arm64-common.c > @@ -104,10 +104,9 @@ int arch_early_init_r(void) > /* Cause the SATA device to do its early init */ > uclass_first_device(UCLASS_AHCI, &dev); > =20 > -#ifdef CONFIG_DM_PCI > /* Trigger PCIe devices detection */ > - pci_init(); > -#endif > + if (IS_ENABLED(PCI)) > + pci_init(); > =20 > return 0; > } This needs to be IS_ENABLED(CONFIG_PCI), I've fixed it locally. --=20 Tom --vBRosIkLXbYTRpGW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmENLz4ACgkQFHw5/5Y0 tyyhvgv7B8jfnlNz6OclnWEwnhM9TLl6uAeTVZ5bCTE/oHSeNxVoZs9JINdzUU4+ E9BAdFigo9y2qvYiWW3zCylzIPAALRx51KtlLvuKqESC9A7jhqLLjEd0fW+oSPC8 c3oi8jMH0B96KL7wv2Mb1Jxqkvb64rByjC2DhRiA5TbgVoBI7CpyFgTBGte2PBZv 85k265qBNTsbo4BSPN/k1LkDmJj0+JpY1MbA9S6ML7jVo9wvkCaKlCOMCR19+Wfp ddjFUo0Z4nVaSRRsiZIVcRCrajy/Zv2/E0Zj3652kRIw+R6sXqZOgMmBAixr/8hd x+adpR2ONd6vOYWFTJAuQN0LZyCZR+6StG9gvQ4zGLMb8yQSxI3gHAygMVzkRI/e cQ9Nihsky/jD8hEfcj9gyo78uAiuTYnNFX6TgTMFwwIOVM0sBvGiJVv3Fpveu9U0 krpRmLNDxDqWxJL0HI0BY/sJLWSXs0QaNakb5XnxSD2QKxgwUKvzH0R7q0Yhy/Cq oE8bFchO =M/y8 -----END PGP SIGNATURE----- --vBRosIkLXbYTRpGW--