Fix DRAM type detection on Dragino 2
authorPiotr Dymacz <pepe2k@gmail.com>
Tue, 13 Jun 2017 18:25:20 +0000 (20:25 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Tue, 13 Jun 2017 18:25:20 +0000 (20:25 +0200)
commit6d2cdc98fe37c29ec02fb75c0c495329c138e4cc
treee0f3691ca22bbc541fdc71797a3ca8f8817d1eeb
parent0c183583529806349d2f80637de55f25a192789b
Fix DRAM type detection on Dragino 2

Dragino 2 needs custom DRAM type detection as it doesn't follow general
convention. MEM_TYPE value in BOOT_STRAP register isn't set correctly
on this board because only GPIO28 is used for DRAM type detection.

This fixes DRAM type detection on new Dragino 2 version which is based
on Dragino HE module, with DDR2 memory.
u-boot/cpu/mips/ar7240/qca_dram.c