]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
85xx/fsl-sata: Use is_serdes_configured() to determine if SATA is enabled
authorKumar Gala <galak@kernel.crashing.org>
Tue, 20 Apr 2010 15:21:25 +0000 (10:21 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 May 2010 09:53:51 +0000 (04:53 -0500)
commitf54fe87acedbbad7d29ad18cab31d2b323717514
tree7b7d9c080a2a160733bd7528ac77733bc0ea0ae9
parent54648985e2a64e29784e3ed37cd45b637305cd65
85xx/fsl-sata: Use is_serdes_configured() to determine if SATA is enabled

On the MPC85xx platform if we have SATA its connected on SERDES.
Determing if SATA is enabled via sata_initialize should not be board
specific and thus we move it out of the MPC8536DS board code.

Additionally, now that we have is_serdes_configured() we can determine
if the given SATA port is enabled and error out if its not in the
driver.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu_init.c
board/freescale/mpc8536ds/mpc8536ds.c
drivers/block/fsl_sata.c