diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2014-10-01 02:40:03 +0400 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-21 12:47:14 +0400 |
commit | 3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b (patch) | |
tree | 44d4b90df1b03750654c6bd97778ff2cddda143c /board | |
parent | f6d48b29cbf5950187e42cb3c108ea5d9c7adaa9 (diff) | |
download | u-boot-3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b.tar.xz |
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')
-rw-r--r-- | board/boundary/nitrogen6x/nitrogen6x.c | 1 | ||||
-rw-r--r-- | board/compulab/cm_fx6/common.c | 1 | ||||
-rw-r--r-- | board/embest/mx6boards/mx6boards.c | 1 | ||||
-rw-r--r-- | board/freescale/mx6qsabreauto/mx6qsabreauto.c | 1 | ||||
-rw-r--r-- | board/freescale/mx6slevk/mx6slevk.c | 1 | ||||
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana.c | 1 | ||||
-rw-r--r-- | board/genesi/mx51_efikamx/efikamx.c | 1 | ||||
-rw-r--r-- | board/ttcontrol/vision2/vision2.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 951b820cbb..fcd4d82c4e 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -18,6 +18,7 @@ #include <asm/imx-common/iomux-v3.h> #include <asm/imx-common/mxc_i2c.h> #include <asm/imx-common/sata.h> +#include <asm/imx-common/spi.h> #include <asm/imx-common/boot_mode.h> #include <asm/imx-common/video.h> #include <mmc.h> diff --git a/board/compulab/cm_fx6/common.c b/board/compulab/cm_fx6/common.c index 1f3967995f..59c9d1ac06 100644 --- a/board/compulab/cm_fx6/common.c +++ b/board/compulab/cm_fx6/common.c @@ -11,6 +11,7 @@ #include <common.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> +#include <asm/imx-common/spi.h> #include <fsl_esdhc.h> #include "common.h" diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index a725f15a2e..02fb3fa1a4 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/mx6boards.c @@ -23,6 +23,7 @@ #include <asm/imx-common/iomux-v3.h> #include <asm/imx-common/boot_mode.h> #include <asm/imx-common/mxc_i2c.h> +#include <asm/imx-common/spi.h> #include <asm/imx-common/video.h> #include <i2c.h> #include <mmc.h> diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c index 1cb7561759..9ab502feff 100644 --- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c +++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c @@ -17,6 +17,7 @@ #include <asm/imx-common/iomux-v3.h> #include <asm/imx-common/mxc_i2c.h> #include <asm/imx-common/boot_mode.h> +#include <asm/imx-common/spi.h> #include <mmc.h> #include <fsl_esdhc.h> #include <miiphy.h> diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index a0832f4a20..a500133efa 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -13,6 +13,7 @@ #include <asm/arch/sys_proto.h> #include <asm/gpio.h> #include <asm/imx-common/iomux-v3.h> +#include <asm/imx-common/spi.h> #include <asm/io.h> #include <linux/sizes.h> #include <common.h> diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 1038d9d975..df491a8fc8 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> diff --git a/board/genesi/mx51_efikamx/efikamx.c b/board/genesi/mx51_efikamx/efikamx.c index 137e4ed661..6ba55cd08a 100644 --- a/board/genesi/mx51_efikamx/efikamx.c +++ b/board/genesi/mx51_efikamx/efikamx.c @@ -14,6 +14,7 @@ #include <asm/arch/sys_proto.h> #include <asm/arch/crm_regs.h> #include <asm/arch/clock.h> +#include <asm/imx-common/spi.h> #include <i2c.h> #include <mmc.h> #include <fsl_esdhc.h> diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c index b5249e74a7..247991d588 100644 --- a/board/ttcontrol/vision2/vision2.c +++ b/board/ttcontrol/vision2/vision2.c @@ -15,6 +15,7 @@ #include <asm/arch/iomux-mx51.h> #include <asm/gpio.h> #include <asm/arch/sys_proto.h> +#include <asm/imx-common/spi.h> #include <i2c.h> #include <mmc.h> #include <power/pmic.h> |