Hi Fabio,
Use struct to access SRSR register instead of offset. While at it mask
the 7 bits of SRSR for correctness.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
The SRSR is a MX51 register and thus not board specific. Can we please
move this reset cause detection into common
Use struct to access SRSR register instead of offset. While at it mask
the 7 bits of SRSR for correctness.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
---
Changes since v1:
- Use readl to read the srsr register
- Mask the lower 7 bits of the SRSR register for
getting the correct
2 matches
Mail list logo