From ae51f41d14f548d494ac41e0d21137c5a4c3f59c Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 30 Oct 2019 14:21:52 +0800 Subject: import the U-Boot code and make it compile --- arch/x86/include/asm/gpio.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/x86/include/asm/gpio.h (limited to 'arch/x86/include/asm/gpio.h') diff --git a/arch/x86/include/asm/gpio.h b/arch/x86/include/asm/gpio.h new file mode 100644 index 0000000..58e4d7b --- /dev/null +++ b/arch/x86/include/asm/gpio.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2012, Google Inc. All rights reserved. + */ + +#ifndef _X86_GPIO_H_ +#define _X86_GPIO_H_ + +#include + +struct ich6_bank_platdata { + uint16_t base_addr; + const char *bank_name; + int offset; +}; + +#endif /* _X86_GPIO_H_ */ -- cgit v1.2.3