]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dts: i.MX6: configure L2 cache data and tag latency
authorDirk Behme <dirk.behme@de.bosch.com>
Fri, 26 Apr 2013 08:13:55 +0000 (10:13 +0200)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:53:42 +0000 (09:53 +0800)
commitff62146b72ece42a1a7906a09a9c3bdb619728ae
treec44cf9e323753336e9250ba2b2f3978509acdf8f
parent486268d2e433977444355a652a101603517b8617
ARM: dts: i.MX6: configure L2 cache data and tag latency

Commit 5a5ca56e057d206db13461b84a7da3a3543e1206 upstream.

Configure the data and tag latency for the L2 cache. This improves the
system performance.

This configuration is taken from Freescale's kernel patch

"ENGR00153601 [MX6]Adjust L2 cache parameter" [1]

which does

writel(0x132, IO_ADDRESS(L2_BASE_ADDR + L2X0_TAG_LATENCY_CTRL));
writel(0x132, IO_ADDRESS(L2_BASE_ADDR + L2X0_DATA_LATENCY_CTRL));

In this patch we are doing the same via the device tree.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
[1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/arch/arm/mach-mx6/mm.c?h=imx_3.0.35_12.09.01&id=814656410b40c67a10b25300e51b0477b2bb96d1
arch/arm/boot/dts/imx6qdl.dtsi