提交 5b32b136 编写于 作者: V Vladimir Zapolskiy 提交者: Joachim Eastwood

memory: pl172: correct MPMC peripheral ID register bits

According to PL172 TRM read of bits [7:6] of MPMCPeriphID3 is
undefined, so unmask them. Also the driver supports all currently
present revisions of PL172, this allows to alleviate requirements to
the revision version matched by the driver.
Signed-off-by: NVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
上级 6ff33f39
......@@ -278,9 +278,10 @@ static int pl172_remove(struct amba_device *adev)
}
static const struct amba_id pl172_ids[] = {
/* PrimeCell MPMC PL172, EMC found on NXP LPC18xx and LPC43xx */
{
.id = 0x07341172,
.mask = 0xffffffff,
.id = 0x07041172,
.mask = 0x3f0fffff,
},
{ 0, 0 },
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册