diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-01-31 07:52:09 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-27 21:19:23 +0100 |
commit | ba54b9276af6c5cf44f466ebc6356dfba7f21c0b (patch) | |
tree | 58b4b85971611d9d449ef75f1a18d5c072e9b5a4 /board/freescale/mx6qsabrelite | |
parent | 373a1d8c0ee150bb3680722c5b888662e0e08291 (diff) |
mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Acked-by: Jason Liu <jason.hui@linaro.org>
Tested-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'board/freescale/mx6qsabrelite')
-rw-r--r-- | board/freescale/mx6qsabrelite/mx6qsabrelite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c index 97a77e841b..03a088a6a8 100644 --- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c +++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c @@ -208,7 +208,7 @@ iomux_v3_cfg_t ecspi1_pads[] = { void setup_spi(void) { - gpio_direction_output(GPIO_NUMBER(3, 19), 1); + gpio_direction_output(CONFIG_SF_DEFAULT_CS, 1); imx_iomux_v3_setup_multiple_pads(ecspi1_pads, ARRAY_SIZE(ecspi1_pads)); } |