summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/common.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2016-05-24 11:03:56 -0700
committerStefano Babic <sbabic@denx.de>2016-05-31 17:25:47 +0200
commit5c55572ff70d71b707e68b0fb811de27814626c0 (patch)
tree9b8069d2b0a32d3e567f497d6c0ba4dc58ea3280 /board/gateworks/gw_ventana/common.h
parentf17a9af84645f5b820da2e7d017b014923ce1b88 (diff)
downloadu-boot-imx-5c55572ff70d71b707e68b0fb811de27814626c0.zip
u-boot-imx-5c55572ff70d71b707e68b0fb811de27814626c0.tar.gz
u-boot-imx-5c55572ff70d71b707e68b0fb811de27814626c0.tar.bz2
imx: ventana: remove dependence on EECONFIG_SATA eeprom feature bit
The MSATA feature is a board-specific feature on Gateworks Ventana boards. In most cases a 2:1 mux will steer either PCIe or SATA to a miniPCIe socket through an MSATA_EN gpio. In these such cases assign the gpio in the board specific struct and use its presence to determine if we default the GPIO to PCIe and if we later steer it according to hwconfig. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/common.h')
-rw-r--r--board/gateworks/gw_ventana/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/common.h b/board/gateworks/gw_ventana/common.h
index 28f5816..58ad5ff 100644
--- a/board/gateworks/gw_ventana/common.h
+++ b/board/gateworks/gw_ventana/common.h
@@ -76,6 +76,7 @@ struct ventana {
int pcie_sson;
int usb_sel;
int wdis;
+ int msata_en;
};
extern struct ventana gpio_cfg[GW_UNKNOWN];