diff options
author | Haikun.Wang@freescale.com <Haikun.Wang@freescale.com> | 2015-06-26 19:58:24 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-07-20 11:44:39 -0700 |
commit | 5989df7e2cfb5ac0d8c9a509aad2b84f9141cc13 (patch) | |
tree | faf63a5ac5615f4bd57f08e84d639dbef2c3cff0 /include/configs/lager.h | |
parent | e71a980a4d4eb01bc3eb7624fc59cd8f999bf4b2 (diff) |
armv8/ls2085ardb: DSPI pin muxing configure through QIXIS CPLD
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 CPLD 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>
Diffstat (limited to 'include/configs/lager.h')
0 files changed, 0 insertions, 0 deletions