]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
misc: k3_fuse: Enable fuse Sense support
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 26 Feb 2026 05:48:14 +0000 (11:18 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 13 Mar 2026 20:58:27 +0000 (14:58 -0600)
fuse sense is essentially read, map it to fuse read.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Anshul Dalal <anshuld@ti.com>
drivers/misc/k3_fuse.c

index 882fd431659aa097167f9e85a6f992b57dd42c0d..d738f75f2728ddb5e37837d88baded8f529c330e 100644 (file)
@@ -35,7 +35,7 @@ int fuse_read(u32 bank, u32 word, u32 *val)
 
 int fuse_sense(u32 bank, u32 word, u32 *val)
 {
-       return -EPERM;
+       return fuse_read(bank, word, val);
 }
 
 int fuse_prog(u32 bank, u32 word, u32 val)