of: separate out "generic" memory bank adding
This patch separates out the "generic" memory
segment registration function (of_add_memory_bank())
from of_add_memory().
The MIPS architecture has different view on memory
resources than the ARM and PPC architectures
so the "generic" of_add_memory_bank() is
unusable for the MIPS architecture.
We can add MIPS-specific of_add_memory_bank()
into arch/mips code.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8b35646 commit 74c4acea0dbc8a270e584c01f13f61dcc87e4cbd
@Antony Pavlov Antony Pavlov authored on 12 May 2013
Sascha Hauer committed on 13 May 2013
Showing 5 changed files
View
drivers/of/Kconfig
View
drivers/of/Makefile
View
drivers/of/base.c
View
drivers/of/mem_generic.c 0 → 100644
View
include/of.h