]> git.sur5r.net Git - u-boot/commit
Do not init SATA when disabled on 8536DS.
authorJason Jin <Jason.jin@freescale.com>
Fri, 10 Oct 2008 03:41:01 +0000 (11:41 +0800)
committerWolfgang Denk <wd@denx.de>
Tue, 14 Oct 2008 15:57:27 +0000 (17:57 +0200)
commit0f8cbc1829d9c7d9616fd29b366a99d037facdcd
treeee6500a64bd2dffbdf5acb0cdcf5d31f71bff74f
parentec4d8c1c1d94a790c1473ae8aace282b817c3123
Do not init SATA when disabled on 8536DS.

SGMII and SATA share the serdes on MPC8536 CPU, When SATA disabled and the
driver still try to access the SATA registers, the cpu will hangup.
This patch try to fix this by reading the serdes status before the SATA
initialize.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
board/freescale/mpc8536ds/mpc8536ds.c
lib_ppc/board.c