From: Simon Glass Date: Fri, 10 Oct 2014 07:49:17 -0600 Subject: [U-Boot] [PATCH 5/8] dm: x86: Add a gpio header for coreboot In-Reply-To: <1412948960-11941-1-git-send-email-sjg@chromium.org> References: <1412948960-11941-1-git-send-email-sjg@chromium.org> Message-ID: <1412948960-11941-6-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@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_ */ -- 2.1.0.rc2.206.gedb03e5