]> git.sur5r.net Git - u-boot/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)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Sat, 28 Feb 2015 15:03:13 +0000 (00:03 +0900)
commit6cc2120646a3230bcf4b57cb3cb937f4a1cfe150
treeda73383c242ddacceaf270584d2a1ba62260d37c
parentafed8c1b6a28bc201dd3633f914572bbf693e620
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