diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-10-03 07:26:38 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-10-16 12:35:11 +0200 |
commit | 6e14232010ad7d105e40511ff5e19a3990050511 (patch) | |
tree | 3dfbe6803f8da91a1334dd8fd3e6e7cdafb7db93 /board/freescale/mx6qsabresd/mx6qsabresd.c | |
parent | 5ae28d2db28695e5f0c0f2aab2187536cac9af6c (diff) | |
download | u-boot-imx-6e14232010ad7d105e40511ff5e19a3990050511.zip u-boot-imx-6e14232010ad7d105e40511ff5e19a3990050511.tar.gz u-boot-imx-6e14232010ad7d105e40511ff5e19a3990050511.tar.bz2 |
i.MX: declare iomux_v3_cfg_t arrays as const
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'board/freescale/mx6qsabresd/mx6qsabresd.c')
-rw-r--r-- | board/freescale/mx6qsabresd/mx6qsabresd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx6qsabresd/mx6qsabresd.c b/board/freescale/mx6qsabresd/mx6qsabresd.c index e02daa4..0240fb5 100644 --- a/board/freescale/mx6qsabresd/mx6qsabresd.c +++ b/board/freescale/mx6qsabresd/mx6qsabresd.c @@ -51,12 +51,12 @@ int dram_init(void) return 0; } -iomux_v3_cfg_t uart1_pads[] = { +iomux_v3_cfg_t const uart1_pads[] = { MX6Q_PAD_CSI0_DAT10__UART1_TXD | MUX_PAD_CTRL(UART_PAD_CTRL), MX6Q_PAD_CSI0_DAT11__UART1_RXD | MUX_PAD_CTRL(UART_PAD_CTRL), }; -iomux_v3_cfg_t enet_pads[] = { +iomux_v3_cfg_t const enet_pads[] = { MX6Q_PAD_ENET_MDIO__ENET_MDIO | MUX_PAD_CTRL(ENET_PAD_CTRL), MX6Q_PAD_ENET_MDC__ENET_MDC | MUX_PAD_CTRL(ENET_PAD_CTRL), MX6Q_PAD_RGMII_TXC__ENET_RGMII_TXC | MUX_PAD_CTRL(ENET_PAD_CTRL), @@ -86,7 +86,7 @@ static void setup_iomux_enet(void) gpio_set_value(IMX_GPIO_NR(1, 25), 1); } -iomux_v3_cfg_t usdhc3_pads[] = { +iomux_v3_cfg_t const usdhc3_pads[] = { MX6Q_PAD_SD3_CLK__USDHC3_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL), MX6Q_PAD_SD3_CMD__USDHC3_CMD | MUX_PAD_CTRL(USDHC_PAD_CTRL), MX6Q_PAD_SD3_DAT0__USDHC3_DAT0 | MUX_PAD_CTRL(USDHC_PAD_CTRL), |