Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b32b136 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Joachim Eastwood
Browse files

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: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarJoachim Eastwood <manabian@gmail.com>
parent 6ff33f39
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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 },
};