]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: malta: malta-memory: Add free_init_pages_eva() callback
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 15 Jan 2014 14:07:57 +0000 (14:07 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:20 +0000 (23:09 +0100)
commitaecfa322ae09f01f1d83b97bbe03777774af9ce4
tree14cdc2b4673d0f91016b2e0cfecad7e9af430178
parent8040847b2412ca8f4e8936228450797cbe60bf11
MIPS: malta: malta-memory: Add free_init_pages_eva() callback

Use a Malta specific function to free the init section once the
kernel has booted. When operating in EVA mode, the physical memory
is shifted to 0x80000000. Kernel is loaded into 0x80000000 (virtual)
so the offset between physical and virtual addresses is 0.

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