nvmem: imx-ocotp: Reverse MAC addresses on all i.MX derivates
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Sun, 11 Jun 2023 14:03:06 +0000 (15:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:42:16 +0000 (13:42 +0200)
commit8a00fc606312c68b98add8fe8e6f7a013ce29e78
treeacd627aad1a3425e1c938a9f9256c9d974bdf31d
parenteebc6573ad940b62a87776db3917e912b4f52d78
nvmem: imx-ocotp: Reverse MAC addresses on all i.MX derivates

Not just i.MX8M, but all i.MX6/7 (and subtypes) need to reverse the
MAC address read from fuses. Exceptions are i.MX6SLL and i.MX7ULP which
do not support ethernet at all.

Fixes: d0221a780cbc ("nvmem: imx-ocotp: add support for post processing")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Richard Leitner <richard.leitner@skidata.com> # imx6q
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Message-ID: <20230611140330.154222-3-srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/imx-ocotp.c