]> git.sur5r.net Git - u-boot/commit
board/ls2081ard: Correct code to get QMAP value in checkboard
authorPriyanka Jain <priyanka.jain@nxp.com>
Mon, 8 Jan 2018 06:50:42 +0000 (12:20 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 15 Jan 2018 20:44:23 +0000 (12:44 -0800)
commitda28a03ed4a1420c5b748cfe08d991cf8da0df32
tree7acec794e55000406c53de1a9d51b9f55b92cba1
parentf436fbfeb1e906603350b6e24a2b55a45842efc5
board/ls2081ard: Correct code to get QMAP value in checkboard

QMAP value contains information about QSPI chip-selects. These bits
are used to display information of boot device in checkboard()
function.

QMAP value is stored in most significant 3-bits of 8-bit register
brdcfg[0] in Qixis, this patch corrects code to get QMAP bits using
below logic:
(brdcfg[0] >> 5) & 0x7

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls2080ardb/ls2080ardb.c