MLK-14938-6 imx8: Add fuse driver to wrap SCFW API
authorYe Li <ye.li@nxp.com>
Wed, 17 May 2017 07:06:15 +0000 (02:06 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:49 +0000 (02:36 +0800)
commit2c8b160f9c5b96434bce87108f82b1bb434abaa5
tree1544afb810fb89126be00c56a08aa3fd7c29cee5
parent8fe72b4c8f8cc06988e82c4482ed2c06a035b36e
MLK-14938-6 imx8: Add fuse driver to wrap SCFW API

Implement a fuse driver to wrap the SCFW OCOTP API and provide interfaces
to u-boot fuse command. So that we can use "fuse read" or "fuse sense" command.

Since there is no concept of fuse bank on i.MX8. Need set "bank" parameter to 0
when using the fuse command.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/cpu/armv8/imx8/Makefile
arch/arm/cpu/armv8/imx8/fuse.c [new file with mode: 0644]