diff options
author | Icenowy Zheng <icenowy@aosc.xyz> | 2017-06-03 17:10:15 +0800 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-06-08 22:37:55 +0530 |
commit | f43a009959e6c1f1ace8b76ef525651ac4729c9d (patch) | |
tree | fc5d9371d6d407f430305601ead141ea0dceed92 /snapshot.commit | |
parent | 9934aba42748e413646fb60b4f762422415437a7 (diff) |
sunxi: Rename bus-width related macros in H3 DRAM code
The DesignWare DRAM controller used by H3 and newer SoCs use a bit to
identify whether the DRAM is half-width.
As H3 itself come with 32-bit DRAM, the two modes of the bit used to be
named "MCTL_CR_32BIT" and "MCTL_CR_16BIT", but for SoCs with 16-bit DRAM
they're really 8-bit and 16-bit.
Rename the bit's macro, and also rename the variable name in
dram_sun8i_h3.c.
This commit do not add 16-bit DRAM controller support, but the support
will be introduced in next commit.
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'snapshot.commit')
0 files changed, 0 insertions, 0 deletions