]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
armv8/ls2085aqds: DSPI pin muxing configure through QIXIS
authorHaikun Wang <Haikun.Wang@freescale.com>
Fri, 26 Jun 2015 11:58:12 +0000 (19:58 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:34:25 +0000 (13:34 +0200)
commitf9687a4ad75c9501c7c379056eb69391b609114c
treeff0e1d287b0ef2cb6970eec8f7c608ff56067f50
parentd320197ce75a297b9f292d3a1fd25a4a6986e8d8
armv8/ls2085aqds: DSPI pin muxing configure through QIXIS

DSPI has pin muxing with SDHC and other IPs, this patch check the
value of RCW SPI_PCS_BASE and SPI_BASE_BASE fields, it also check
the "hwconfig" variable. If those pins are configured to DSPI and
"hwconfig" enable DSPI, set the BRDCFG5 of QIXIS FPGA to configure
the routing to on-board SPI memory. Otherwise will configure to SDHC.
DSPI is enabled in "hwconfig" by appending "dspi", eg.
setenv hwconfig "$hwconfig;dspi"

Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/include/asm/arch-fsl-lsch3/config.h
board/freescale/ls2085aqds/ls2085aqds.c