Message ID | 15160f6de0bba712fcea078c5ac7571fe33fcd5d.1555684066.git.horms+renesas@verge.net.au (mailing list archive) |
---|---|
State | Accepted |
Commit | 15160f6de0bba712fcea078c5ac7571fe33fcd5d |
Delegated to: | Simon Horman |
Headers | show |
Series | [1/1] soc: renesas: Identify R-Car M3-W ES1.3 | expand |
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 4af96e668a2f..3299cf5365f3 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -335,6 +335,9 @@ static int __init renesas_soc_init(void) /* R-Car M3-W ES1.1 incorrectly identifies as ES2.0 */ if ((product & 0x7fff) == 0x5210) product ^= 0x11; + /* R-Car M3-W ES1.3 incorrectly identifies as ES2.1 */ + if ((product & 0x7fff) == 0x5211) + product ^= 0x12; if (soc->id && ((product >> 8) & 0xff) != soc->id) { pr_warn("SoC mismatch (product = 0x%x)\n", product); return -ENODEV;