diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-09-14 11:06:31 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-20 09:47:59 +0200 |
commit | d547e7ab16e3c90659b8bbc9fa85460cbc653faa (patch) | |
tree | 8fd765f337968763586aaaf9d2ae4259b2db16a2 /board | |
parent | e9c8f0982df3f37abc69989160bb27a8d4162edd (diff) | |
download | u-boot-imx-d547e7ab16e3c90659b8bbc9fa85460cbc653faa.zip u-boot-imx-d547e7ab16e3c90659b8bbc9fa85460cbc653faa.tar.gz u-boot-imx-d547e7ab16e3c90659b8bbc9fa85460cbc653faa.tar.bz2 |
mx6ul_14x14_evk: Staticize when possible
Make the internal symbols static when possible.
This prevents sparse build warnings.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index acb8431..3d5c285 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -158,7 +158,7 @@ static void iox74lv_init(void) #ifdef CONFIG_SYS_I2C_MXC #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C1 for PMIC and EEPROM */ -struct i2c_pads_info i2c_pad_info1 = { +static struct i2c_pads_info i2c_pad_info1 = { .scl = { .i2c_mode = MX6_PAD_UART4_TX_DATA__I2C1_SCL | PC, .gpio_mode = MX6_PAD_UART4_TX_DATA__GPIO1_IO28 | PC, @@ -313,7 +313,7 @@ static iomux_v3_cfg_t const quadspi_pads[] = { MX6_PAD_NAND_DQS__QSPI_A_SS0_B | MUX_PAD_CTRL(QSPI_PAD_CTRL1), }; -int board_qspi_init(void) +static int board_qspi_init(void) { /* Set the iomux */ imx_iomux_v3_setup_multiple_pads(quadspi_pads, |