diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2013-05-12 23:54:03 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-13 21:17:10 +0200 |
commit | 74c4acea0dbc8a270e584c01f13f61dcc87e4cbd (patch) | |
tree | cdd78ef67a06bfc18d9d5b57c6616b3096f1806d /drivers/of/Makefile | |
parent | 8b35646356f778287c11971cc8d464aa579f0421 (diff) | |
download | barebox-74c4acea0dbc8a270e584c01f13f61dcc87e4cbd.tar.gz barebox-74c4acea0dbc8a270e584c01f13f61dcc87e4cbd.tar.xz |
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>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r-- | drivers/of/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile index d16a94624d..c81bbec89b 100644 --- a/drivers/of/Makefile +++ b/drivers/of/Makefile @@ -1,4 +1,5 @@ obj-y += base.o fdt.o +obj-$(CONFIG_OFTREE_MEM_GENERIC) += mem_generic.o obj-$(CONFIG_GPIOLIB) += gpio.o obj-y += partition.o obj-y += of_net.o |