1. 19 10月, 2008 30 次提交
  2. 15 10月, 2008 8 次提交
  3. 14 10月, 2008 2 次提交
    • J
      Do not init SATA when disabled on 8536DS. · 0f8cbc18
      Jason Jin 提交于
      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: NJason Jin <Jason.jin@freescale.com>
      Acked-by: NAndy Fleming <afleming@freescale.com>
      0f8cbc18
    • N
      fsl_diu: fix alignment error that caused malloc corruption · ec4d8c1c
      Nikita V. Youshchenko 提交于
      When aligning malloc()ed screen_base, invalid offset was added.
      This not only caused misaligned result (which did not cause hardware
      misbehaviour), but - worse - caused screen_base + smem_len to
      be out of malloc()ed space, which in turn caused breakage of
      futher malloc()/free() operation.
      
      This patch fixes screen_base alignment.
      
      Also this patch makes memset() that cleans framebuffer to be executed
      on first initialization of diu, not only on re-initialization. It looks
      correct to clean the framebuffer instead of displaying random garbage;
      I believe that was disabled only because that memset caused breakage
      of malloc/free described above - which no longer happens with the fix
      described above.
      Signed-off-by: NNikita V. Youshchenko <yoush@debian.org>
      ec4d8c1c