summaryrefslogtreecommitdiff
path: root/board/gateworks
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-09-30 15:40:03 -0700
committerStefano Babic <sbabic@denx.de>2014-10-21 10:47:14 +0200
commit3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b (patch)
tree44d4b90df1b03750654c6bd97778ff2cddda143c /board/gateworks
parentf6d48b29cbf5950187e42cb3c108ea5d9c7adaa9 (diff)
downloadu-boot-imx-3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b.zip
u-boot-imx-3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b.tar.gz
u-boot-imx-3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b.tar.bz2
ARM: i.MX: provide declaration for board_spi_cs_gpio
Provide a public declaration of the board_spi_cs_gpio() callback for i.MX SPI chip selects to prevent the warning "Should it be static?" when compiling with "make C=1". Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 1038d9d..df491a8 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -20,6 +20,7 @@
#include <asm/imx-common/mxc_i2c.h>
#include <asm/imx-common/boot_mode.h>
#include <asm/imx-common/sata.h>
+#include <asm/imx-common/spi.h>
#include <asm/imx-common/video.h>
#include <jffs2/load_kernel.h>
#include <hwconfig.h>