armv8: lx2160a: fix reset sequence
authorMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Wed, 9 Sep 2020 08:36:05 +0000 (14:06 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 24 Sep 2020 15:27:32 +0000 (20:57 +0530)
commitd31f3a1b62889d0bc1bbd801760e0b0a55bc02f6
treec82fd186d1a5f598aa3693906d03a29a156c3837
parente5f1111a7919ee4d0596fec313f844bfad6db0ec
armv8: lx2160a: fix reset sequence

Make sure that SW_RST_REQ and RST_REQ_MSK are cleared
before triggering hardware reset request.

Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c