common: qixis: make the qixis compatible with new soc
authorYuantian Tang <andy.tang@nxp.com>
Wed, 19 Jun 2019 06:39:28 +0000 (14:39 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +0000 (09:07 +0530)
commit0f6607f9e9d4638f5d7759c95f4c513e57e3b3dc
treeb50d7fe5e61193ee014c17ef9c1d11415fe9f748
parentcf0bbbd1ee7b7c5e40db81c6b61d82e853dd50fb
common: qixis: make the qixis compatible with new soc

This driver needs modification to work with new soc,
like ls1028, since bitmap of RCFG is changed to
RESV[7:5] LIVE[4] WDEN[3] RESV[2:1] GO[0]
   000      1       0        00      0

Also the RCW location is moved to only dutcfg0.
RESV[7:4] RCWSRC[3:0]
   1111   configurable

Following commands are functional now
qixis_reset
qixis_reset sd
qixis_reset qspi
qixis_reset emmc

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
board/freescale/common/qixis.c