]> err.no Git - linux-2.6/commit
powerpc/85xx/86xx: some refactoring for fsl_uli1575 code
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 11 Jun 2008 23:04:17 +0000 (03:04 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jul 2008 22:57:42 +0000 (17:57 -0500)
commit52ddd1cdc923802b224b15ba75000c6c5668227f
treecaaa3e7faa4bf01b1bd7aaa56f2e86e4a1593b1e
parent00c5372d37a78990c1530184a9c792ee60a30067
powerpc/85xx/86xx: some refactoring for fsl_uli1575 code

- Get rid of uses_fsl_uli_m1575, it does not scale for all cases.
  Instead, let's explicitly use machine_is() for each fixup.
- Factor out MPC8610HPCD quirks to fsl_uli1575, and protect them with
  machine_is(). One step closer to multiplatform kernels.
- Actually use fsl_uli1575 on MPC8610HPCD, so RTC quirk will be applied.
- RTC quirk applies to all boards though, so no machine_is() checks.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/86xx/mpc8610_hpcd.c
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
arch/powerpc/platforms/fsl_uli1575.c