commit | 7b361f7aa0d6143f88466927edc04046d6faf6b7 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Sun Jan 15 14:59:04 2017 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Jan 17 09:00:40 2017 +0900 |
tree | 5b299513f0b58bb4232181c5bab2a94f342526fb | |
parent | ddb1900ac9a664b8aec90b9466781efea0e94808 [diff] |
ARM: uniphier: refactor MEMCONF init code Currently, memconf-sld3.c and memconf-pxs2.c duplicate the code. There are 3 patterns in terms of MEMCONF init: - DRAM 2 channels: LD4, sLD8, Pro4, Pro5, LD11 - DRAM 3 channels: sLD3 - DRAM 3 channels (Ch2 is disable by MEMCONF[21]): Pxs2, LD20 All of them can be moved into a single file by a little more refactoring. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>