u-boot/arch
Jerome Brunet 3145e0d0ff ARM: meson: fixup error on efuse commands return
All `sm efuseread/efusewrite` commands exit with an error, even if the fuse
have actually been dealt with correctly.

This is because the smc call return the size it actually processed but this
result is checked against 0.

Return failure in do_efuse_read/write if the return value of
meson_sm_read/write_efuse() is not the requested size.

Fixes: 52195ba5f5 ("ARM: amlogic: add sm efuse write support and cmd for read/write efuse")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220804144138.33809-1-jbrunet@baylibre.com
2022-08-08 09:56:38 +02:00
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm ARM: meson: fixup error on efuse commands return 2022-08-08 09:56:38 +02:00
m68k Convert CONFIG_MCFRTC et al to Kconfig 2022-04-01 10:28:46 -04:00
microblaze microblaze: Migrate DCACHE/ICACHE to Kconfig 2022-04-08 10:46:22 -04:00
mips mips: octeon: mrvl, octeon-nic23.dts: Add ethernet DT support 2022-05-04 03:38:21 +02:00
nios2 event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
powerpc powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support for NOR booting 2022-05-23 09:33:10 -04:00
riscv riscv: Clean up asm/io.h 2022-05-26 18:41:21 +08:00
sandbox sandbox: sdl: Add stub sandbox_sdl_remove_display() 2022-06-25 07:54:20 +02:00
sh Split CONFIG_CC_OPTIMIZE_FOR_SIZE into two configs 2022-03-25 13:35:50 -04:00
x86 pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
xtensa Convert CONFIG_BOARD_POSTCLK_INIT to Kconfig 2022-03-03 16:51:19 -05:00
.gitignore
Kconfig nds32: Remove the architecture 2022-04-25 16:04:05 -04:00
u-boot-elf.lds