On Fri, Nov 26, 2021 at 02:31:08PM +0100, Oleksij Rempel wrote: > From: David Jander <david@xxxxxxxxxxx> > > TF-A (version >= v2.4?) apparently does not copy all of OTP to shadow > registers so reading the MAC address area will read all-zeroes. > Make sure to read the _real_ OTP register in this case. > > Signed-off-by: David Jander <david@xxxxxxxxxxx> > Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> > --- > drivers/nvmem/bsec.c | 21 ++++++++++++++------- > 1 file changed, 14 insertions(+), 7 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox