]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: malta: malta-memory: Use the PHYS_OFFSET to build the memory map
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 15 Jan 2014 14:13:05 +0000 (14:13 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:20 +0000 (23:09 +0100)
commitc8940258d1529855128f6458271ed7fd169b13ce
treeb55caa61c71a34cb84aed9cabb3d2cc8dc233c06
parentd8c8daec04f05a8f678838e95d898d9207fb1706
MIPS: malta: malta-memory: Use the PHYS_OFFSET to build the memory map

PHYS_OFFSET is used to denote the physical start address of the
first bank of RAM. When the Malta board is in EVA mode, the physical
start address of RAM is shifted to 0x80000000 so it's necessary to use
this macro in order to make the code EVA agnostic.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/mti-malta/malta-memory.c