Skip to content
Snippets Groups Projects
Commit 8d6c99c6 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 78c627cf
No related branches found
No related tags found
No related merge requests found
Showing
with 176 additions and 152 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment