powerpc/fsl_uli1575: fix RTC quirk to work on MPC8572DS and MPC8610HPCD
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 11 Jun 2008 23:04:02 +0000 (03:04 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jul 2008 22:57:41 +0000 (17:57 -0500)
commit00c5372d37a78990c1530184a9c792ee60a30067
tree8ad00d42a699b0a15e9c325b23f108eed1416425
parentade254d7f05cb74ab0a951ab105bc9ae872f045e
powerpc/fsl_uli1575: fix RTC quirk to work on MPC8572DS and MPC8610HPCD

This patch fixes RTC on MPC8572DS boards: dummy read helps only when
reading at the end of the bridge's memory (i.e. outside of behind the
bridge devices' assigned regions).

With this change the quirk also makes RTC work on MPC8610HPCD, so it's
unlikely that this will break MPC8641HPCN or MPC8544DS boards.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/fsl_uli1575.c