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 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 BE5F5C433EF for ; Tue, 28 Dec 2021 08:33:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2355483892; Tue, 28 Dec 2021 09:32:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="NDvi3U0K"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2A588838AC; Tue, 28 Dec 2021 09:32:45 +0100 (CET) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 9401C838A0 for ; Tue, 28 Dec 2021 09:32:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ot1-x32e.google.com with SMTP id r10-20020a056830080a00b0055c8fd2cebdso23550093ots.6 for ; Tue, 28 Dec 2021 00:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7RvLJ3uVEV34sd2ENEy1T/7/rs7WRG9iRzBC6STNe4U=; b=NDvi3U0KY8ycp85kHO2EZGhPHHJ4H0pQCEJQ6JWHcsmEn5QvewTB9LZj6KAkKHGEzV C8AWQlor7oweHQ+io9eE2DW4VZhv1m43Mqw89rOIe8YiNjDHn3vgSmRmcOJhI/iG3puo GYbzasc5UIEzSHTLKJ7X2GkYmuRidqURCoDXQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7RvLJ3uVEV34sd2ENEy1T/7/rs7WRG9iRzBC6STNe4U=; b=75rCr3u9Q5nnDKkFF+lpDqlirnFtDaFaaD9DK9AsAQkciyUfpwpzqlCibbPAo2oNRL 1l05oEUaXx0t9nMhz2p46YWr65ZkOz6/KiTvHXJZSruILKYfkYYVerPkd50G8NgBieHB GVKlSiAEZmQkxSED3mEhZF/jSP8cKOPQHIhqsIkTNPiCO6QOZ7gr6+atIhTE/Qc20htA aeBT8j2jEuDP6gW8uf+gFj0BpzgEQ6ZxdWy7HHA+r2sNNb4N4XxJ5+SEnMUkt8ebUerR caDrgnZcUPqrzhU4KNgt8Kk6o2EXfi3ivoUQy/i78XM43J3kWd/YDC2NB25bj8vWPGn1 JZMw== X-Gm-Message-State: AOAM530+OPOH/EE1yu1l03KTIZB+A3LYwkfV4Aar/ZXmNs9oXPEa4sCW 54RYJ9PDe9pKJLMDH1KLcVO2M+/MDFKBfvqY7MHYYA== X-Google-Smtp-Source: ABdhPJwyISmDMQrYXh9BBZDDrn8GLzf+Dnve6ljYyhflcI3GVtaaVPlRp4E5nA0ZhNB79BXfUxEAhsQdrJB9D9kkWNE= X-Received: by 2002:a9d:24e4:: with SMTP id z91mr14336784ota.11.1640680347705; Tue, 28 Dec 2021 00:32:27 -0800 (PST) MIME-Version: 1.0 References: <20211126104252.5443-1-pali@kernel.org> <20211126104252.5443-9-pali@kernel.org> In-Reply-To: <20211126104252.5443-9-pali@kernel.org> From: Simon Glass Date: Tue, 28 Dec 2021 01:32:13 -0700 Message-ID: Subject: Re: [PATCH u-boot-next 08/12] pci: mediatek: Use PCI_CONF1_EXT_ADDRESS() macro To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Stefan Roese , Bin Meng , Ryder Lee , Weijie Gao , Chunfeng Yun , GSS_MTK_Uboot_upstream , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, 26 Nov 2021 at 03:43, Pali Roh=C3=A1r wrote: > > PCI mediatek driver uses extended format of Config Address for PCI > Configuration Mechanism #1 but with cleared Enable bit. > > So use new U-Boot macro PCI_CONF1_EXT_ADDRESS() with clearing > PCI_CONF1_ENABLE bit and remove old custom driver address macros. > > Signed-off-by: Pali Roh=C3=A1r > --- > drivers/pci/pcie_mediatek.c | 17 ++++++++--------- > 1 file changed, 8 insertions(+), 9 deletions(-) Reviewed-by: Simon Glass