]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: UniPhier: consolidate MEMCONF setting code
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 26 Feb 2015 17:27:04 +0000 (02:27 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:06:22 +0000 (14:06 +0200)
commitf95e04e0ff43419d503d9a8553b7d6fba33b276c
tree6199cda1741485562e5b3bff7e2ada2c1c758960
parent29bcaf67bf6167c9caa5e5b2d495e8e251047154
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>
arch/arm/mach-uniphier/Makefile
arch/arm/mach-uniphier/include/mach/sg-regs.h
arch/arm/mach-uniphier/memconf.c [new file with mode: 0644]
arch/arm/mach-uniphier/ph1-ld4/sg_init.c
arch/arm/mach-uniphier/ph1-pro4/sg_init.c
arch/arm/mach-uniphier/spl.c