Blackfin arch: fix bug - reboot fails on BF527
add ANOMALY_05000435 to handle SIC_IWR1 workaround for rebooting Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
@@ -1069,7 +1069,10 @@ int __init init_arch_irq(void)
|
|||||||
* up from IDLE instructions. See this report for more info:
|
* up from IDLE instructions. See this report for more info:
|
||||||
* http://blackfin.uclinux.org/gf/tracker/4323
|
* http://blackfin.uclinux.org/gf/tracker/4323
|
||||||
*/
|
*/
|
||||||
bfin_write_SIC_IWR1(IWR_ENABLE(10) | IWR_ENABLE(11));
|
if (ANOMALY_05000435)
|
||||||
|
bfin_write_SIC_IWR1(IWR_ENABLE(10) | IWR_ENABLE(11));
|
||||||
|
else
|
||||||
|
bfin_write_SIC_IWR1(IWR_DISABLE_ALL);
|
||||||
#else
|
#else
|
||||||
bfin_write_SIC_IWR1(IWR_DISABLE_ALL);
|
bfin_write_SIC_IWR1(IWR_DISABLE_ALL);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -91,7 +91,10 @@ void bfin_pm_suspend_standby_enter(void)
|
|||||||
* up from IDLE instructions. See this report for more info:
|
* up from IDLE instructions. See this report for more info:
|
||||||
* http://blackfin.uclinux.org/gf/tracker/4323
|
* http://blackfin.uclinux.org/gf/tracker/4323
|
||||||
*/
|
*/
|
||||||
bfin_write_SIC_IWR1(IWR_ENABLE(10) | IWR_ENABLE(11));
|
if (ANOMALY_05000435)
|
||||||
|
bfin_write_SIC_IWR1(IWR_ENABLE(10) | IWR_ENABLE(11));
|
||||||
|
else
|
||||||
|
bfin_write_SIC_IWR1(IWR_DISABLE_ALL);
|
||||||
#else
|
#else
|
||||||
bfin_write_SIC_IWR1(IWR_DISABLE_ALL);
|
bfin_write_SIC_IWR1(IWR_DISABLE_ALL);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user