soc/sifive/fu540: Add driver for OTP memory
commitea81928e948a01dde897b90e8e7454a71d9c0788
authorPhilipp Hug <philipp@hug.cx>
Wed, 11 Jul 2018 11:22:34 +0000 (11 13:22 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 10 Sep 2018 15:05:11 +0000 (10 15:05 +0000)
tree082c4b2fc86f3f60fd4b084742109525bf5becf5
parent3b8ef2b01d80124982155620dec283ecc91cb221
soc/sifive/fu540: Add driver for OTP memory

Provides minimal functionality to read the SOC s/n from the NeoFuse
one time programmable memory.

Change-Id: I14b010ad9958931e0a98a76f76090fd7c66f19a0
Signed-off-by: Philipp Hug <philipp@hug.cx>
Reviewed-on: https://review.coreboot.org/27435
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Documentation/mainboard/sifive/hifive-unleashed.md
src/soc/sifive/fu540/Makefile.inc
src/soc/sifive/fu540/include/soc/otp.h [new file with mode: 0644]
src/soc/sifive/fu540/otp.c [new file with mode: 0644]