From patchwork Tue Oct 29 21:07:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suneel Garapati X-Patchwork-Id: 1186293 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="AV0o6YwA"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 472kl30C07z9sPc for ; Wed, 30 Oct 2019 08:10:39 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id B3C95C21E08; Tue, 29 Oct 2019 21:09:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 312C4C21DFA; Tue, 29 Oct 2019 21:08:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B2CA8C21DCA; Tue, 29 Oct 2019 21:08:36 +0000 (UTC) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by lists.denx.de (Postfix) with ESMTPS id 55037C21DE8 for ; Tue, 29 Oct 2019 21:08:30 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id v4so10521111pff.6 for ; Tue, 29 Oct 2019 14:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ywgBYG5f9T5Z/lLdcCE3EiKlmMmF9S2Z6sZQ8I7Q7aw=; b=AV0o6YwAM345HPIZ2TkOrmbGuFfK4hBrisbP5kDIfFa0nWN5pDTugWQ5amtY8nVbHL r+kF0B9vfjIgNdN2E6+mn7yd1f0DyGxKK2EebX0O+30CgaB6RruZlZEsQqR13gUYDGX3 LPzTPQ7bZZVq+DONuVf+IRjR2cI3zCNS1Yv7jefB6GgxIEcnT5FvOY5F82z4XoZ0myuY wXSB2BwzlCy4Evr/Q7SL3OFj3tnqw4XurpNftF0Ohj0MZOS7afGda7BFagdZ1s6R9U2E yA1tHaABKad+DKNaHl/YQpVQcquuyeOSrv+Way0y25Mrx/PywLdfVctNkaGzvuHYwK+7 Zpng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ywgBYG5f9T5Z/lLdcCE3EiKlmMmF9S2Z6sZQ8I7Q7aw=; b=JoUb6+mkI7l3KHiNjUVskj9spl6UC3z9eODxxL8D8HUoz3Hp9hESeFLEx/vHLZUAlD ZVBPGlZp5bv2aBzh+YJ+NO7l1Kv5bEly4t0dazcwI6XSD0KppbFzh8DEo0t/esfLzXE+ MzAkExJokW4ZgX/gcsmOWSi+t3hRi2eS8+sk8+oCMdi5Ucl1XyJDF9FppeH/zPxkr9qp xjIyIttKdD5VMJqIJ2H4dr6R56ej6aC71vgwXXUStTdEvfD73RLaZCPe7LsNdIDpW8CK eFjp4LFlKhEnI9L1G9LOTr1OV8U/g8hvqEh5WRMg8bVydywFyXJUbOTr85s6Ox5oCQsr VN8g== X-Gm-Message-State: APjAAAVlfryWr1fwG60HAkjSVs8YDDa67KayG0lAdLYbbiXLlJlCSlDz mZTYJXVJVF6yiVKi2ojj7YXrtpRO X-Google-Smtp-Source: APXvYqw24JJuxg3U8Vu9i9GGm8PYy5VQaecQXPBxynqMEfWnI/aZc2Pgyr/m0BOb3GJ35w1Z61QNew== X-Received: by 2002:a63:f34f:: with SMTP id t15mr30561623pgj.453.1572383308563; Tue, 29 Oct 2019 14:08:28 -0700 (PDT) Received: from suneel.hsd1.ca.comcast.net ([2601:641:4000:c9c0:7044:5eef:7096:2413]) by smtp.gmail.com with ESMTPSA id q3sm131160pgj.54.2019.10.29.14.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 14:08:28 -0700 (PDT) From: Suneel Garapati To: u-boot Date: Tue, 29 Oct 2019 14:07:56 -0700 Message-Id: <20191029210821.1954-5-suneelglinux@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191029210821.1954-1-suneelglinux@gmail.com> References: <20191029210821.1954-1-suneelglinux@gmail.com> MIME-Version: 1.0 Cc: Tom Rini , Matthias Brugger , Joe Hershberger , Prasun Kapoor , Maen Suleiman , Chandrakala Chavva , Zi Shen Lim , Stefan Roese , Chris Packham Subject: [U-Boot] [RFC PATCH 04/29] drivers: pci-uclass: fix incorrect argument in map_sysmem X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" From: Suneel Garapati Minor spelling correction. Signed-off-by: Suneel Garapati Reviewed-by: Simon Glass --- drivers/pci/pci-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 896cb6b23a..848ac5a65e 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -1373,7 +1373,7 @@ static void *dm_pci_map_ea_bar(struct udevice *dev, int bar, int flags, } /* size ignored for now */ - return map_physmem(addr, flags, 0); + return map_physmem(addr, 0, flags); } return 0; @@ -1399,7 +1399,7 @@ void *dm_pci_map_bar(struct udevice *dev, int bar, int flags) /* * Pass "0" as the length argument to pci_bus_to_virt. The arg - * isn't actualy used on any platform because u-boot assumes a static + * isn't actually used on any platform because u-boot assumes a static * linear mapping. In the future, this could read the BAR size * and pass that as the size if needed. */