]> git.baikalelectronics.ru Git - uboot.git/commit
mips: mt7628: fix ddr_type for MT7688KN
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 23 Feb 2021 07:12:44 +0000 (15:12 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 22 Apr 2021 00:44:20 +0000 (02:44 +0200)
commitbbfca0862d54d838d9e2780a96394e4f9f3ad549
treeaab8a15fb90cd40fe1c4fc325701ebb67b38a89f
parent3d133f8920ef0965ae2a7972b53e5e8995bd625a
mips: mt7628: fix ddr_type for MT7688KN

The MT7688KN is a multi-chip package with 8MiB DDR1 KGD. So the DDR type
from bootstrap register must be ignored, and always be assumed as DDR1.

This patch fixes an issue that mt7628_ddr_pad_ldo_config() may be passed
with a wrong ddr_type in MT7688KN.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/mips/mach-mtmips/mt7628/ddr.c