u-boot/arch/arm/mach-mvebu
Pali Rohár 8b3d7ecdfe arm: mvebu: Add support for reading LD0 and LD1 eFuse
Armada 385 contains 64 lines of HD eFuse and 2 lines of LD eFuse. HD eFuse
is used for secure boot and each line is 64 bits long + 1 lock bit. LD
eFuse lines are 256 bits long + 1 lock bit. LD 0 line is reserved for
Marvell Internal Use and LD 1 line is for General Purpose Data. U-Boot
already contains HD eFuse reading and programming support.

This patch implements LD eFuse reading support. LD 0 line is mapped to
U-Boot fuse bank 64 and LD 1 line to fuse bank 65.

LD 0 Marvell Internal Use line seems that was burned in factory with some
data and can be read by U-Boot fuse command:

  => fuse read 64 0 9

LD 1 General Purpose Data line is by default empty and can be read by
U-Boot fuse command:

  => fuse read 65 0 9

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
2022-04-21 12:31:36 +02:00
..
armada8k arm64: mvebu: extend the mmio region 2021-05-16 06:48:45 +02:00
armada3700 arm: mvebu: a37xx: Add support for reading Security OTP values 2022-04-21 12:31:36 +02:00
include/mach arm: mvebu: Add support for reading LD0 and LD1 eFuse 2022-04-21 12:31:36 +02:00
serdes db-mv784mp-gp: Rename CONFIG_DB_784MP_GP to CONFIG_TARGET_DB_MV784MP_GP 2022-04-01 10:28:47 -04:00
.gitignore mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
arm64-common.c pci: arm: mvebu: Drop DM_PCI check from arch_early_init_r 2021-08-06 08:20:45 -04:00
cpu.c mvebu: Move BOOTROM_ERR_REG out of CONFIG namespace 2022-04-08 09:05:19 -04:00
dram.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
efuse.c arm: mvebu: Add support for reading LD0 and LD1 eFuse 2022-04-21 12:31:36 +02:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig arm: mvebu: a37xx: Add support for reading NB and SB fuse OTP value 2022-04-21 12:31:36 +02:00
kwbimage.cfg.in arm: mvebu: Enable BootROM output on A38x 2022-01-14 11:39:16 +01:00
lowlevel_spl.S arm: mvebu: Add documentation for save_boot_params() function 2021-10-28 10:33:32 +02:00
Makefile arm: mvebu: a37xx: Add support for reading NB and SB fuse OTP value 2022-04-21 12:31:36 +02:00
mbus.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
spl.c spl: mmc: extend spl_mmc_boot_mode() to take mmc argument 2022-04-04 23:24:17 +01:00
system-controller.c arm: mvebu: Implement simple mvebu-reset driver for enabling/disabling PCIe ports 2022-01-14 07:47:57 +01:00
timer.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00