From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 14 Oct 2008 18:01:59 +0200 Subject: [U-Boot] [PATCH 4/4] Do not init SATA when disabled on 8536DS. In-Reply-To: <1223610061-5348-4-git-send-email-Jason.jin@freescale.com> References: <1223610061-5348-1-git-send-email-Jason.jin@freescale.com> <1223610061-5348-2-git-send-email-Jason.jin@freescale.com> <1223610061-5348-3-git-send-email-Jason.jin@freescale.com> <1223610061-5348-4-git-send-email-Jason.jin@freescale.com> Message-ID: <20081014160159.51CE681C99CC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jason Jin, In message <1223610061-5348-4-git-send-email-Jason.jin@freescale.com> you wrote: > 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 > --- > board/freescale/mpc8536ds/mpc8536ds.c | 12 ++++++++++++ > lib_ppc/board.c | 16 ++++++++++++++-- > 2 files changed, 26 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Calm down, it's *__only* ones and zeroes.