diff options
author | Nitin Garg <nitin.garg@freescale.com> | 2015-03-27 14:45:43 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-03 11:41:05 -0500 |
commit | 48277f0a5162d2e1d67e6cfb830be9799f1c1904 (patch) | |
tree | 5387f0fd54832aef2ec4ff85ed0a9c8cc2f29e9d /arch/arm/include/asm | |
parent | be21be765d55ee26b5176b49df7f5057941d4095 (diff) | |
download | u-boot-imx-imx_v2014.04_3.10.53_1.1.0_ga.zip u-boot-imx-imx_v2014.04_3.10.53_1.1.0_ga.tar.gz u-boot-imx-imx_v2014.04_3.10.53_1.1.0_ga.tar.bz2 |
MLK-10496: Check the PL310 version for applying errataimx_v2014.04_3.10.53_1.1.0_ga
Apply errata based on PL310 version instead of compile
time. Also set Prefetch offset to 15, since it improves
memcpy performance by 35%. Don't enable Incr double
Linefill enable since it adversely affects memcpy
performance by about 32MB/s and reads by 90MB/s. Tested
with 4K to 16MB sized src and dst aligned buffer.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/pl310.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pl310.h b/arch/arm/include/asm/pl310.h index ddc245b..d7a7eb2 100644 --- a/arch/arm/include/asm/pl310.h +++ b/arch/arm/include/asm/pl310.h @@ -75,4 +75,9 @@ void pl310_clean_inval_all(void); void pl310_inval_range(u32 start, u32 end); void pl310_clean_inval_range(u32 start, u32 end); +#define L2X0_CACHE_ID_PART_MASK (0xf << 6) +#define L2X0_CACHE_ID_PART_L310 (3 << 6) +#define L2X0_CACHE_ID_RTL_MASK 0x3f +#define L2X0_CACHE_ID_RTL_R3P2 0x8 + #endif |