Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2de5c00a authored by Santosh Shilimkar's avatar Santosh Shilimkar Committed by Russell King
Browse files

ARM: 6409/1: davinci: map sram using MT_MEMORY_NONCACHED instead of MT_DEVICE



On Davinci SRAM is mapped as MT_DEVICE becasue of the section
mapping pre-requisite instead of intended MT_MEMORY_NONCACHED

Since the section mapping limitation gets fixed with first
patch in this series, the MT_MEMORY_NONCACHED can be used now.

Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e546f21b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -769,8 +769,7 @@ static struct map_desc dm355_io_desc[] = {
		.virtual	= SRAM_VIRT,
		.pfn		= __phys_to_pfn(0x00010000),
		.length		= SZ_32K,
		/* MT_MEMORY_NONCACHED requires supersection alignment */
		.type		= MT_DEVICE,
		.type		= MT_MEMORY_NONCACHED,
	},
};

+1 −2
Original line number Diff line number Diff line
@@ -969,8 +969,7 @@ static struct map_desc dm365_io_desc[] = {
		.virtual	= SRAM_VIRT,
		.pfn		= __phys_to_pfn(0x00010000),
		.length		= SZ_32K,
		/* MT_MEMORY_NONCACHED requires supersection alignment */
		.type		= MT_DEVICE,
		.type		= MT_MEMORY_NONCACHED,
	},
};

+1 −2
Original line number Diff line number Diff line
@@ -653,8 +653,7 @@ static struct map_desc dm644x_io_desc[] = {
		.virtual	= SRAM_VIRT,
		.pfn		= __phys_to_pfn(0x00008000),
		.length		= SZ_16K,
		/* MT_MEMORY_NONCACHED requires supersection alignment */
		.type		= MT_DEVICE,
		.type		= MT_MEMORY_NONCACHED,
	},
};

+1 −2
Original line number Diff line number Diff line
@@ -737,8 +737,7 @@ static struct map_desc dm646x_io_desc[] = {
		.virtual	= SRAM_VIRT,
		.pfn		= __phys_to_pfn(0x00010000),
		.length		= SZ_32K,
		/* MT_MEMORY_NONCACHED requires supersection alignment */
		.type		= MT_DEVICE,
		.type		= MT_MEMORY_NONCACHED,
	},
};