powerpc/cache: add cache flush operation for various e500
Various e500 core have different cache architecture, so they need different cache flush operations. Therefore, add a callback function cpu_flush_caches to the struct cpu_spec. The cache flush operation for the specific kind of e500 is selected at init time. The callback function will flush all caches inside the current cpu. Signed-off-by:Chenhui Zhao <chenhui.zhao@freescale.com> Signed-off-by:
Tang Yuantian <Yuantian.Tang@feescale.com> Signed-off-by:
Scott Wood <oss@buserror.net>
Showing
- arch/powerpc/include/asm/cacheflush.h 0 additions, 2 deletionsarch/powerpc/include/asm/cacheflush.h
- arch/powerpc/include/asm/cputable.h 8 additions, 0 deletionsarch/powerpc/include/asm/cputable.h
- arch/powerpc/kernel/asm-offsets.c 1 addition, 0 deletionsarch/powerpc/kernel/asm-offsets.c
- arch/powerpc/kernel/cpu_setup_fsl_booke.S 112 additions, 0 deletionsarch/powerpc/kernel/cpu_setup_fsl_booke.S
- arch/powerpc/kernel/cputable.c 4 additions, 0 deletionsarch/powerpc/kernel/cputable.c
- arch/powerpc/kernel/head_fsl_booke.S 0 additions, 74 deletionsarch/powerpc/kernel/head_fsl_booke.S
- arch/powerpc/platforms/85xx/smp.c 3 additions, 2 deletionsarch/powerpc/platforms/85xx/smp.c
Loading
Please register or sign in to comment