u-boot/arch/arm/mach-uniphier/dram
Masahiro Yamada 94b756f331 ARM: uniphier: refactor UMC init code for ProXstream2
Currently, a dummy value is defined for the UMC_SPCCTLA register
when the DRAM size is zero.  This seems weird because the controller
does not need setting in the first place if the size is zero.

Also, redefine enum dram_size to represent the DRAM size per 16-bit
unit.  This makes things simpler because the channel 0 and 1 are
connected with 32-bit width DRAM, while the channel 2 is connected
with 16-bit width one.

I am renaming SIZE_* into DRAM_SZ_* (and also FREQ_* to DRAM_FREQ_*
for consistency) while I am here because SIZE_* might be easily
mixed-up with the macros in include/linux/sizes.h.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2016-02-29 03:50:16 +09:00
..
cmd_ddrmphy.c ARM: uniphier: move cmd_ddrmphy.c to fix build error 2016-02-14 17:07:46 +09:00
cmd_ddrphy.c ARM: uniphier: move headers out of include/mach directory 2016-01-13 01:54:53 +09:00
ddrmphy-regs.h ARM: uniphier: add DRAM init code for ProXstream2/PH1-LD6b 2016-01-13 01:54:55 +09:00
ddrphy-ph1-ld4.c ARM: uniphier: move headers out of include/mach directory 2016-01-13 01:54:53 +09:00
ddrphy-ph1-pro4.c ARM: uniphier: remove unneeded if conditionals 2016-01-20 08:40:33 +09:00
ddrphy-ph1-sld8.c ARM: uniphier: move headers out of include/mach directory 2016-01-13 01:54:53 +09:00
ddrphy-regs.h ARM: uniphier: move headers out of include/mach directory 2016-01-13 01:54:53 +09:00
ddrphy-training.c ARM: uniphier: move headers out of include/mach directory 2016-01-13 01:54:53 +09:00
Makefile ARM: uniphier: fix makefiles to build cmd_ddr(m)phy.c 2016-02-14 17:07:46 +09:00
umc-ph1-ld4.c ARM: uniphier: rework struct uniphier_board_data 2016-02-29 03:50:16 +09:00
umc-ph1-pro4.c ARM: uniphier: use pr_err() where possible 2016-02-29 03:50:16 +09:00
umc-ph1-sld8.c ARM: uniphier: rework struct uniphier_board_data 2016-02-29 03:50:16 +09:00
umc-proxstream2.c ARM: uniphier: refactor UMC init code for ProXstream2 2016-02-29 03:50:16 +09:00
umc-regs.h ARM: uniphier: remove unused umc_polling() 2016-02-29 03:50:16 +09:00