[PATCH 0/3] Add eFuse access for ZynqMP
Marek Behún
kabel at kernel.org
Wed May 15 09:08:38 CEST 2024
On Tue, 14 May 2024 16:04:13 +0200
lukas.funke-oss at weidmueller.com wrote:
> From: Lukas Funke <lukas.funke at weidmueller.com>
>
>
> This series adds a driver to read and write ZynqMP eFuses [1]. The
> driver can be accessed by the 'efuse_read' and 'efuse_write' subcommands
> of the 'zynqmp' command.
Vendor specific commands aren't great.
There is the 'fuse' command in u-boot. You need to implement the
fuse_read()
fuse_sense()
fuse_prog()
fuse_override()
functions.
See for example arch/arm/mach-mvebu/efuse.c, or other implementations.
Please don't invent new vendor specific commands in new code, it is an
antipattern.
Marek
More information about the U-Boot
mailing list