mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-10 00:11:32 +00:00
armv7: ls102xa: add errata ID A-008646 for workaround
The patch adds an errata ID A-008646 for workaround to provide more information by errata ID. Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
e93a7caf86
commit
1936841b11
1 changed files with 4 additions and 3 deletions
|
@ -68,9 +68,10 @@ static void __secure ls1_deepsleep_irq_cfg(void)
|
||||||
|
|
||||||
ippdexpcr0 = in_be32(&rcpm->ippdexpcr0);
|
ippdexpcr0 = in_be32(&rcpm->ippdexpcr0);
|
||||||
/*
|
/*
|
||||||
* Workaround: There is bug of register ippdexpcr1, when read it always
|
* Workaround of errata A-008646
|
||||||
* returns zero, so its value is saved to a scrachpad register to be
|
* Errata states that read to register ippdexpcr1 always returns
|
||||||
* read, that is why we don't read it from register ippdexpcr1 itself.
|
* zero irrespective of what value is written into it. So its value
|
||||||
|
* is first saved to a spare register and then read from it
|
||||||
*/
|
*/
|
||||||
ippdexpcr1 = in_be32(&scfg->sparecr[7]);
|
ippdexpcr1 = in_be32(&scfg->sparecr[7]);
|
||||||
out_be32(&rcpm->ippdexpcr1, ippdexpcr1);
|
out_be32(&rcpm->ippdexpcr1, ippdexpcr1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue