On Oct 13, 2010, at 7:00 AM, <harninder....@freescale.com> <harninder....@freescale.com> wrote:
> From: Harninder Rai <harninder....@freescale.com> > > It adds cache-sram support in P1/P2 QorIQ platforms as under: > > * A small abstraction over powerpc's remote heap allocator > * Exports mpc85xx_cache_sram_alloc()/free() APIs > * Supports only one contiguous SRAM window > * Drivers can do the following in Kconfig to use these APIs > "select FSL_85XX_CACHE_SRAM if MPC85xx" > * Required SRAM size and the offset where SRAM should be mapped must be > provided at kernel command line as :- > cache-sram-size=<value> > cache-sram-offset=<offset> > > Signed-off-by: Harninder Rai <harninder....@freescale.com> > Signed-off-by: Vivek Mahajan <vivek.maha...@freescale.com> > --- > incorporated review comments from Philipp > > arch/powerpc/include/asm/fsl_85xx_cache_sram.h | 48 +++++ > arch/powerpc/sysdev/Makefile | 1 + > arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h | 101 +++++++++++ > arch/powerpc/sysdev/fsl_85xx_cache_sram.c | 159 ++++++++++++++++ > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | 231 ++++++++++++++++++++++++ > 5 files changed, 540 insertions(+), 0 deletions(-) > create mode 100644 arch/powerpc/include/asm/fsl_85xx_cache_sram.h > create mode 100644 arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h > create mode 100644 arch/powerpc/sysdev/fsl_85xx_cache_sram.c > create mode 100644 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c applied to next - k _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev