Message ID | 20191027155410.187957-13-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LsLCWoMF"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 471N1C1m4Dz9sPK for <incoming@patchwork.ozlabs.org>; Mon, 28 Oct 2019 03:03:11 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C59F1C21DF3; Sun, 27 Oct 2019 15:59:01 +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=RCVD_IN_MSPIKE_H2, 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 2111DC21DA1; Sun, 27 Oct 2019 15:55:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 973CFC21C3F; Sun, 27 Oct 2019 15:55:43 +0000 (UTC) Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) by lists.denx.de (Postfix) with ESMTPS id 48A1EC21DFA for <u-boot@lists.denx.de>; Sun, 27 Oct 2019 15:55:00 +0000 (UTC) Received: by mail-il1-f195.google.com with SMTP id s6so2340400iln.0 for <u-boot@lists.denx.de>; Sun, 27 Oct 2019 08:55:00 -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=WtDFFjVbxJJ7akmS9CJ79u16negaQQMlc09vYTShXis=; b=LsLCWoMFthaXW2aTxWLbAT0OaHDOryAyAuoTRV8UeVyX6c9ewfXb/clllIg8KbJOtt /0TL5jSV9tEWWVyOvTKmKamVmRalP1duNw3KFk2/doLHFjHQuZzndFydx46QU+Eis+8H hynVs9a4P9xKppfCpX+4OG+KHFuuu6tHGgi1s= 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=WtDFFjVbxJJ7akmS9CJ79u16negaQQMlc09vYTShXis=; b=AyUk5RdfHre/vATxa+tTU+1Ydig4FFStISLQjT6UyBhvFArnNwgwfEu5pRmU9nJHF7 LBInDHMCxbiz+Kb32aL/zdN9TsRkX/KPCD6M1nKy5ZK618bQ5HI9VfFGaStcgavSwLJx 0hx8OpHuYFAQzrODlK/yI5Bu+ZA1Nk5EGDIlIAdwTHX0DiWFR7dqRaKBJqzoMcjnoxcf EvQHii6dPory5OZO5WlLyH5W0RVBE7XgPJb6HmbVl5LjgFTjfObgjIPUm7MrX2mn1LyE +rsPzNhAHW3iRSlV4PYnaioizoIMGxzi7K7ZOusmI1XtZHoorsZLx5rY+TiAS5Psvj+z tTMA== X-Gm-Message-State: APjAAAWRTrGhnhkFue6MvSL/Za42eIOFW2zFlikm4rmSSmLQMjF6UxrQ iA0ENeLTe8qQ4dSYBz3J8/poPS1RYcyJ2Q== X-Google-Smtp-Source: APXvYqwSyirsrdxpW3E2CjaxEJT6trcajsKKpddrfmRHBMHm+IfoM7dFzPP1r+WncW0Z7TytUHCybg== X-Received: by 2002:a92:b314:: with SMTP id p20mr15564521ilh.80.1572191699149; Sun, 27 Oct 2019 08:54:59 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id n3sm1215070ilm.8.2019.10.27.08.54.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 08:54:58 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Sun, 27 Oct 2019 09:53:53 -0600 Message-Id: <20191027155410.187957-13-sjg@chromium.org> X-Mailer: git-send-email 2.24.0.rc0.303.g954a862665-goog In-Reply-To: <20191027155410.187957-1-sjg@chromium.org> References: <20191027155410.187957-1-sjg@chromium.org> MIME-Version: 1.0 Cc: Tom Rini <trini@konsulko.com>, Mike Frysinger <vapier@gentoo.org> Subject: [U-Boot] [PATCH 13/30] sf: Drop dm.h header file from spi_flash.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
[U-Boot,01/30] lib: Allow crc32 to be disabled.
|
expand
|
diff --git a/arch/x86/cpu/ivybridge/sdram.c b/arch/x86/cpu/ivybridge/sdram.c index 8a58d0383d..d2d51ebca1 100644 --- a/arch/x86/cpu/ivybridge/sdram.c +++ b/arch/x86/cpu/ivybridge/sdram.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <dm.h> #include <errno.h> #include <fdtdec.h> #include <malloc.h> diff --git a/include/spi_flash.h b/include/spi_flash.h index 0b23f57a71..0d302a7938 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -9,10 +9,11 @@ #ifndef _SPI_FLASH_H_ #define _SPI_FLASH_H_ -#include <dm.h> /* Because we dereference struct udevice here */ #include <linux/types.h> #include <linux/mtd/spi-nor.h> +struct udevice; + /* by default ENV use the same parameters than SF command */ #ifndef CONFIG_ENV_SPI_BUS # define CONFIG_ENV_SPI_BUS CONFIG_SF_DEFAULT_BUS
This header file should not be included in other header files. Remove it and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/x86/cpu/ivybridge/sdram.c | 1 + include/spi_flash.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)