From patchwork Fri Oct 10 13:49:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 398574 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 90C501400AB for ; Sat, 11 Oct 2014 00:50:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 748EDA747E; Fri, 10 Oct 2014 15:50:17 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YffjbKYeCPYM; Fri, 10 Oct 2014 15:50:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0E3C44C0A4; Fri, 10 Oct 2014 15:50:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 22104A73F5 for ; Fri, 10 Oct 2014 15:49:46 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NaS9MQT1E1Ck for ; Fri, 10 Oct 2014 15:49:45 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f201.google.com (mail-pd0-f201.google.com [209.85.192.201]) by theia.denx.de (Postfix) with ESMTPS id 91436A73EB for ; Fri, 10 Oct 2014 15:49:41 +0200 (CEST) Received: by mail-pd0-f201.google.com with SMTP id y10so332012pdj.4 for ; Fri, 10 Oct 2014 06:49:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CaWPsWKv7DLPi7E+Sy1NuLzQ2+pPXjz/m8gxNxqN+yc=; b=MsO/lAvbCws/JpnNozNpvoBjE+2klrtuuWgpsWtF/CfeNXj9VxKN/wLjEdv1H4/Vly ceA90VK0fjPBV4is3VDJt/Madb5PgcAMevpt5Iije7MSZbKLrC8gpvqGzsjrCgvhnOdj V7BDtPdPTO3j+oIj0Y2G1vDawxto9Zgth3YLctoZxW8OUCkxBgQDg0TY+TFeyIGYKvHJ eVieltBQ7HtvBuJtA/0Pm/Gn6yHmsBP1wmvU9oGyCn/cNjFxOYyNeFnaytZJJ0qtsksT gtHynP9spvBWfBofto5N7HODPXv11EkCuOEMn8Jr4YtQciiIZIuFXKWPmTRy40tUOG9u U5qQ== X-Gm-Message-State: ALoCoQlPotmontLPxIzM9n/Ku+hLRJ038BlJrKP4c/DTZUGSIB/HB8XSDe1TT4/wrNCmUiweoyeQ X-Received: by 10.66.222.100 with SMTP id ql4mr3181465pac.32.1412948979216; Fri, 10 Oct 2014 06:49:39 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id n24si322554yha.6.2014.10.10.06.49.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Oct 2014 06:49:39 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id vuqLgMvm.1; Fri, 10 Oct 2014 06:49:39 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 72B532214CF; Fri, 10 Oct 2014 07:49:38 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 10 Oct 2014 07:49:17 -0600 Message-Id: <1412948960-11941-6-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1412948960-11941-1-git-send-email-sjg@chromium.org> References: <1412948960-11941-1-git-send-email-sjg@chromium.org> Cc: Graeme Russ Subject: [U-Boot] [PATCH 5/8] dm: x86: Add a gpio header for coreboot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This code doesn't follow the normal approach of having its arch-specific definitions in an arch-specific directory. Add a new arch-specific file and make use of it. Signed-off-by: Simon Glass --- arch/x86/include/asm/arch-coreboot/gpio.h | 15 +++++++++++++++ arch/x86/include/asm/gpio.h | 1 + 2 files changed, 16 insertions(+) create mode 100644 arch/x86/include/asm/arch-coreboot/gpio.h diff --git a/arch/x86/include/asm/arch-coreboot/gpio.h b/arch/x86/include/asm/arch-coreboot/gpio.h new file mode 100644 index 0000000..3ec1816 --- /dev/null +++ b/arch/x86/include/asm/arch-coreboot/gpio.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2014, Google Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _X86_ARCH_GPIO_H_ +#define _X86_ARCH_GPIO_H_ + +struct ich6_bank_platdata { + uint32_t base_addr; + const char *bank_name; +}; + +#endif /* _X86_ARCH_GPIO_H_ */ diff --git a/arch/x86/include/asm/gpio.h b/arch/x86/include/asm/gpio.h index fe09f31..8bda414 100644 --- a/arch/x86/include/asm/gpio.h +++ b/arch/x86/include/asm/gpio.h @@ -6,6 +6,7 @@ #ifndef _X86_GPIO_H_ #define _X86_GPIO_H_ +#include #include #endif /* _X86_GPIO_H_ */