From patchwork Sat May 30 16:29:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1301239 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=hM3ubIIR; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Z6My54hkz9sRY for ; Sun, 31 May 2020 02:29:32 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7284F804AB; Sat, 30 May 2020 18:29:24 +0200 (CEST) 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="hM3ubIIR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 60D2880679; Sat, 30 May 2020 18:29:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (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 879ED8047E for ; Sat, 30 May 2020 18:29:20 +0200 (CEST) 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@chromium.org Received: by mail-io1-xd41.google.com with SMTP id y18so2633175iow.3 for ; Sat, 30 May 2020 09:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KPuOQoYxgjv7aYwJOFqMUZYYIYsdQERJ3HKSege1xaM=; b=hM3ubIIRNapccKGgf3twUoQE19SqQCruLq9vM1DdtlIAI/VYehEMck+5wXLh/6yjsP WxnWxRxYujSzwXQdqsOsWMGIPIy8eJDx7BL7CZ4bzWQU3HLZQXygZdAGGSc7nes0GKXh AQTzk4hWxdPm0+Scnv88KLprbgLilHO4LkSY0= 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:mime-version :content-transfer-encoding; bh=KPuOQoYxgjv7aYwJOFqMUZYYIYsdQERJ3HKSege1xaM=; b=JvqYrxwvsLPy2KQMHxF4sTM7kAqumPBK2rRPGqsU38bZs8ssHCsC/aAv6/Qqiaia0y sYq1Zc8BatibI0h5oII73Vd/McY6zocWL/Jz9xcg7YTvw2U48wo1p0fmAhP41pTZtdKA cEiGASPC7oNfz+IoADHxmWSuSGEEhiY1RNvxU24FvpSQuR1BOJzJpM15L1ItPSnTcRCN b8DomfAW2AeRT/W2H/BHTWZLvy8mKyK6yCens/XC16hmtxojDFFLduJp0BQI8yUfH9s4 4Csd+91uH1jydnv+Vj65FOJ+ryrZnjMOjeZbdPGCioDMRtvpBaVtE1LJNFd3vW2/U7Ca JONw== X-Gm-Message-State: AOAM533yFVPMGkJydd9C9tyA0z4IeMeijO75ADJw8VsuQtjTVNvHiBbg 61ny+U4bSYpfKeDSeicafvoYGy9Mf0b6CQ== X-Google-Smtp-Source: ABdhPJz2wGBLFnJQncckn3PznWu9BDKdTcZXNVKRdcS+BSsgERnwyX5JX/nE/oWXJepAlcVNB6SFjA== X-Received: by 2002:a6b:7c45:: with SMTP id b5mr11786637ioq.31.1590856158910; Sat, 30 May 2020 09:29:18 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id j17sm6485524ilq.79.2020.05.30.09.29.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 May 2020 09:29:18 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Adam Ford , Tom Rini , Simon Glass , Heiko Schocher , Marek Vasut Subject: [PATCH 1/2] usb: ohci: Add header file for ARCH_DMA_MINALIGN Date: Sat, 30 May 2020 10:29:03 -0600 Message-Id: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> X-Mailer: git-send-email 2.27.0.rc0.183.gde8f92d652-goog MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean This is defined in the asm/cache.h header file. Update this header file to include it so it gets the same value consistently across U-Boot. This fixes 'usb host' on omapl138_lcdk. Fixes: 90526e9fbac ("common: Drop net.h from common header") Reported-by: Adam Ford Signed-off-by: Simon Glass Tested-by: Adam Ford Reviewed-by: Tom Rini --- drivers/usb/host/ohci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 9b264bd92a..a38cd25eb8 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h @@ -11,6 +11,7 @@ * e.g. PCI controllers need this */ +#include #include #ifdef CONFIG_SYS_OHCI_SWAP_REG_ACCESS From patchwork Sat May 30 16:29:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1301240 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Qni4mCZ8; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Z6N41Qc0z9sSJ for ; Sun, 31 May 2020 02:29:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 80054813D4; Sat, 30 May 2020 18:29:26 +0200 (CEST) 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="Qni4mCZ8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D6B6C80670; Sat, 30 May 2020 18:29:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (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 157CC804AB for ; Sat, 30 May 2020 18:29:21 +0200 (CEST) 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@chromium.org Received: by mail-io1-xd43.google.com with SMTP id y18so2633228iow.3 for ; Sat, 30 May 2020 09:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6Lj3fIp/LBfwdcLfT5sJ8UN4PmjUQLNZJtGMVlLdf/U=; b=Qni4mCZ82WopXhLIH9/BH4S3wYvoMJWnCdWBM4U9hpZP/sfMqc1MNfVOkK1N1M/Bw8 ttRRKuFFRP46GPs3ae9xgV4CsmXe/y5pVTmMWWQa0oo7H0yASp3LPO1DCRqpUSq/5AnK a0IdsK4jYsTZ2pYeVVXxyLyf1P08nnoS8irgs= 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=6Lj3fIp/LBfwdcLfT5sJ8UN4PmjUQLNZJtGMVlLdf/U=; b=SFGeSJ2zCgWXb72R4UjeefIOLXpcF5OFDgjFA0cYStT04SIShU1xAO+p6PjuZT54TW YI/rqZalr9KhTMAInCTxvz9fSx/3R5cfgJHYmwoqrlm26Zt0bDMbcbGOmcUQySgGq/YZ SBm7CDChJI0P+4yl3pivjgw5f/n1gt0RyHkpBSYex35VOZ/iwPtR8NzfkyWdOPP9Rv8m fNGtrX0zd+xEflMO9+3rEHPaxtfK1Rxrrz2nZD/WGmiJtlBzM9sTYR4STvxbKqUFvqch TOWtGRx02DOCXEbPdzGQRReRJ+34qOxRzE/7Z1cfWF7QRZ2b0cDFYcC+ys48HWqLM65r L/4A== X-Gm-Message-State: AOAM530J1eYrIikL16uBcAsWjCoveZ4Il7/bCxso0Uzt1bPL/oyX6DQs fNU30JvDagksVUgrC1ZWj5BNBeB6SCsjtg== X-Google-Smtp-Source: ABdhPJzDcuL8CgyI4dWKpkNyFVEmt4L0ab3e2cadm2ORP+yy+I72U1Qr9JKduGdZTYxAjXge1qxdhA== X-Received: by 2002:a5d:81d8:: with SMTP id t24mr10645608iol.98.1590856159772; Sat, 30 May 2020 09:29:19 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id j17sm6485524ilq.79.2020.05.30.09.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 May 2020 09:29:19 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Adam Ford , Tom Rini , Simon Glass , Masahiro Yamada Subject: [PATCH 2/2] dma-mapping: Add header file for ARCH_DMA_MINALIGN Date: Sat, 30 May 2020 10:29:04 -0600 Message-Id: <20200530102901.2.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> X-Mailer: git-send-email 2.27.0.rc0.183.gde8f92d652-goog In-Reply-To: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> References: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean This is defined in the asm/cache.h header file. Update this header file to include it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Tested-by: Adam Ford #da850-evm --- include/linux/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 20b6d60dd8..6a107d52e0 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -2,6 +2,7 @@ #ifndef _LINUX_DMA_MAPPING_H #define _LINUX_DMA_MAPPING_H +#include #include #include #include