OSDN Git Service

powerpc/85xx: Fix booting for P1021MDS boards
authorAnton Vorontsov <avorontsov@mvista.com>
Tue, 8 Jun 2010 09:55:50 +0000 (09:55 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 4 Aug 2010 19:16:01 +0000 (14:16 -0500)
commitdee9ad718b4f0009a4170c178f7171c7b1f06f92
treeb59f6b169881cc084bf0914e9dbe53a6964070ba
parentbb863e85a74f0222f4486ddb1945ed9eb431d6c9
powerpc/85xx: Fix booting for P1021MDS boards

P1021 processors have no dedicated ROM to store the QE microcode,
so the fimrware is stored externally, and it is U-Boot responsibility
to load it. It might be that the board is booting without QE, e.g.
currently U-Boot doesn't support QE for P1021MDS boards, which means
that QE isn't initialized, and so the board hangs early at boot.

This patch fixes the issue by marking QE as disabled and checking the
state in the probing code. U-Boot should fixup the state if it
initialized the QE.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/p1021mds.dts
arch/powerpc/platforms/85xx/mpc85xx_mds.c