diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2014-09-30 15:40:03 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-21 10:47:14 +0200 |
commit | 3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b (patch) | |
tree | 44d4b90df1b03750654c6bd97778ff2cddda143c /board/freescale | |
parent | f6d48b29cbf5950187e42cb3c108ea5d9c7adaa9 (diff) | |
download | u-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/freescale')
-rw-r--r-- | board/freescale/mx6qsabreauto/mx6qsabreauto.c | 1 | ||||
-rw-r--r-- | board/freescale/mx6slevk/mx6slevk.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c index 1cb7561..9ab502f 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 a0832f4..a500133 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> |