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: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
This commit is contained in:
Vladimir Zapolskiy 2015-09-28 19:51:18 +03:00 коммит произвёл Joachim Eastwood
Родитель 6ff33f3902
Коммит 5b32b1368a
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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 },
};