projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config_distro_bootcmd.h: Prefer booting from bootable paritions
[oweals/u-boot.git]
/
include
/
cros_ec.h
diff --git
a/include/cros_ec.h
b/include/cros_ec.h
index 9e13146ecbb266a5b73dbb9b93b1e90317c79a06..8457c80c5efd4264e5943255dc35b83fd520581b 100644
(file)
--- a/
include/cros_ec.h
+++ b/
include/cros_ec.h
@@
-13,6
+13,7
@@
#include <ec_commands.h>
#include <fdtdec.h>
#include <cros_ec_message.h>
#include <ec_commands.h>
#include <fdtdec.h>
#include <cros_ec_message.h>
+#include <asm/gpio.h>
#ifndef CONFIG_DM_CROS_EC
/* Which interface is the device on? */
#ifndef CONFIG_DM_CROS_EC
/* Which interface is the device on? */
@@
-39,7
+40,7
@@
struct cros_ec_dev {
unsigned int bus_num; /* Bus number (for I2C) */
unsigned int max_frequency; /* Maximum interface frequency */
#endif
unsigned int bus_num; /* Bus number (for I2C) */
unsigned int max_frequency; /* Maximum interface frequency */
#endif
- struct
fdt_gpio_state ec_int;
/* GPIO used as EC interrupt line */
+ struct
gpio_desc ec_int;
/* GPIO used as EC interrupt line */
int protocol_version; /* Protocol version to use */
int optimise_flash_write; /* Don't write erased flash blocks */
int protocol_version; /* Protocol version to use */
int optimise_flash_write; /* Don't write erased flash blocks */