• Andy Fleming's avatar
    powerpc/e6500: Add support for hardware threads · e16c8765
    Andy Fleming authored
    The general idea is that each core will release all of its
    threads into the secondary thread startup code, which will
    eventually wait in the secondary core holding area, for the
    appropriate bit in the PACA to be set. The kick_cpu function
    pointer will set that bit in the PACA, and thus "release"
    the core/thread to boot. We also need to do a few things that
    U-Boot normally does for CPUs (like enable branch prediction).
    Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
    [scottwood@freescale.com: various changes, including only enabling
     threads if Linux wants to kick them]
    Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
    e16c8765
setup-common.c 17.7 KB