diff options
author | David Jander <david@protonic.nl> | 2021-11-26 14:31:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-30 11:39:58 +0100 |
commit | 6e0ea3e7efb41c29563f8b471efd76baa8e5418f (patch) | |
tree | c6e28ad0552f21bf16555e6c01fa08150e860f3c /dts/Bindings/counter/stm32-timer-cnt.txt | |
parent | 4352d4e5b23186df66b628c360457c0ff55b2627 (diff) | |
download | barebox-6e0ea3e7efb41c29563f8b471efd76baa8e5418f.tar.gz barebox-6e0ea3e7efb41c29563f8b471efd76baa8e5418f.tar.xz |
nvmem: bsec.c: Use SMC_READ_OTP in stm32_bsec_read_mac()
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@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20211126133108.3003431-1-o.rempel@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/counter/stm32-timer-cnt.txt')
0 files changed, 0 insertions, 0 deletions