summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-27 02:27:04 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-03-01 00:03:13 +0900
commit6cc2120646a3230bcf4b57cb3cb937f4a1cfe150 (patch)
treeda73383c242ddacceaf270584d2a1ba62260d37c /arch/arm/mach-uniphier/Makefile
parentafed8c1b6a28bc201dd3633f914572bbf693e620 (diff)
downloadtalos-obmc-uboot-6cc2120646a3230bcf4b57cb3cb937f4a1cfe150.tar.gz
talos-obmc-uboot-6cc2120646a3230bcf4b57cb3cb937f4a1cfe150.zip
ARM: UniPhier: consolidate MEMCONF setting code
This code is duplicated in ph1-ld4/sg_init.c and ph1-pro4/sg_init.c. Merge the same code into a new file, memconf.c. The helper functions no longer have to be placed in the header file. Also, move them into memconf.c. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/Makefile')
-rw-r--r--arch/arm/mach-uniphier/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/Makefile b/arch/arm/mach-uniphier/Makefile
index df418dd3c4..e7a801b2ac 100644
--- a/arch/arm/mach-uniphier/Makefile
+++ b/arch/arm/mach-uniphier/Makefile
@@ -7,6 +7,7 @@ ifdef CONFIG_SPL_BUILD
obj-y += lowlevel_init.o
obj-y += init_page_table.o
obj-y += spl.o
+obj-y += memconf.o
obj-y += ddrphy_training.o
else
OpenPOWER on IntegriCloud