15 Jan, 2009

2 commits


14 Jan, 2009

9 commits


12 Jan, 2009

1 commit


11 Jan, 2009

1 commit


07 Jan, 2009

11 commits


31 Dec, 2008

5 commits


30 Dec, 2008

2 commits


20 Dec, 2008

9 commits

  • Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Remy Böhmer

    Jean-Christophe PLAGNIOL-VILLARD
     
  • Currently MPC85xx and MPC86xx boards just calculate the localbus frequency
    and print it out, but don't save it.

    This changes where its calculated and stored to be more consistent with the
    CPU, CCB, TB, and DDR frequencies and the MPC83xx localbus clock.

    The localbus frequency is added to sysinfo and calculated when sysinfo is
    set up, in cpu/mpc8[56]xx/speed.c, the same as the other frequencies are.

    get_clocks() copies the frequency into the global data, as the other
    frequencies are, into a new field that is only enabled for MPC85xx and
    MPC86xx.

    checkcpu() in cpu/mpc8[56]xx/cpu.c will print out the local bus frequency
    from sysinfo, like the other frequencies, instead of calculating it on the
    spot.

    Signed-off-by: Trent Piepho
    Acked-by: Kumar Gala
    Acked-by: Jon Loeliger

    Trent Piepho
     
  • The local bus clock divider should be doubled for both 8610 and 8641.

    Signed-off-by: Trent Piepho
    Acked-by: Kumar Gala
    Acked-by: Jon Loeliger

    Trent Piepho
     
  • The clock divider for the MPC8568 local bus should be doubled, like the
    other newer MPC85xx chips.

    Since there are now more chips with a 2x divider than a 1x, and any new
    85xx chips will probably be 2x, invert the sense of the #if so that it
    lists the 1x chips instead of the 2x ones.

    Signed-off-by: Trent Piepho
    Acked-by: Kumar Gala
    Acked-by: Jon Loeliger

    Trent Piepho
     
  • If one custom board is using the 8MB flash, it is set
    as FLASH_BASE = 0xef000000, TEXT_BASE = 0xef780000.
    The current start.S code will be broken at switch_as.

    It is because the TLB1[15] is set as 16MB page size,
    EPN = TEXT_BASE & 0xff000000, RPN = 0xff000000.

    For the 8MB flash case, the EPN = 0xefxxxxxx,
    RPN = 0xffxxxxxx. Assume the virt address of switch_as
    is 0xef7ff18c, the real address of the instruction at
    switch_as should be 0xff7ff18c. the 0xff7ff18c is out
    of the range of the default 8MB boot LAW window
    0xff800000 - 0xffffffff.

    So when we switch to AS1 address space at switch_as,
    the core can't fetch the instruction at switch_as any
    more. It will cause broken issue.

    Signed-off-by: Dave Liu

    Dave Liu
     
  • The values given for the PHY address were wrong, so the code
    read no valid PHY ID, and fell through to the generic PHY
    support, which would work on 1000M but would not auto negotiate
    down to 100M or 10M.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • Lets make things a bit more user friendly. It isn't 1985 anymore.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • These interfaces don't have usable connectors on the board, so don't
    bother enumerating or configuring them.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • Assuming the OSes exception vectors start from the base of kernel address, and
    the kernel physical starting address can be relocated to an non-zero address.
    This patch enables the second core to have a valid IVPR for debugger before
    kernel setting IVPR in CAMP mode. Otherwise, IVPR is 0x0 and it is not a valid
    value for second core which runs kernel at different physical address other
    than 0x0.

    Signed-off-by: Haiying Wang

    Haiying Wang