u-boot/arch/arm/mach-mvebu/include/mach
Pali Rohár 3b44b3fdf2 arm: mvebu: Add support for programming LD0 and LD1 eFuse
This patch implements LD eFuse programming support. Armada 385 contains two
LD eFuse lines, each is 256 bit long with one additional lock bit. LD 0
line is mapped to U-Boot fuse bank 64 and LD 1 line to fuse bank 65. U-Boot
32-bit fuse words 0-8 are mapped to LD eFuse line bits 0-255. U-Boot fuse
word 9 is mapped to LD eFuse line lock bit.

So to program LD 1 General Purpose Data line, use U-Boot fuse command:

    => fuse prog -y 65 0 0x76543210
    => fuse prog -y 65 1 0xfedcba98
    => fuse prog -y 65 2 0x76543210
    => fuse prog -y 65 3 0xfedcba98
    => fuse prog -y 65 4 0x76543210
    => fuse prog -y 65 5 0xfedcba98
    => fuse prog -y 65 6 0x76543210
    => fuse prog -y 65 7 0xfedcba98
    => fuse prog -y 65 8 0x1

Signed-off-by: Pali Rohár <pali@kernel.org>
2022-10-06 10:15:35 +02:00
..
config.h arm: mvebu: Use CONFIG_TIMER on all MVEBU & KIRKWOOD platforms 2022-09-20 06:39:43 +02:00
cpu.h arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
efuse.h arm: mvebu: Add support for programming LD0 and LD1 eFuse 2022-10-06 10:15:35 +02:00
fw_info.h arm64: mvebu: extend the mmio region 2021-05-16 06:48:45 +02:00
gpio.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mbox.h treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
soc.h mvebu: Move BOOTROM_ERR_REG out of CONFIG namespace 2022-04-08 09:05:19 -04:00