u-boot/arch
Jonas Karlman 5708e8eeae rockchip: rk3328: Set efuse auto mode and timing control
Reading from efuse return zero when mainline TF-A is used.

  => dump_efuse
  00000000: 00 00 00 00  ....
  00000004: 00 00 00 00  ....
  00000008: 00 00 00 00  ....
  0000000c: 00 00 00 00  ....
  00000010: 00 00 00 00  ....
  00000014: 00 00 00 00  ....
  00000018: 00 00 00 00  ....
  0000001c: 00 00 00 00  ....

However, when vendor TF-A blobs is used reading from efuse works.

Change to use auto mode, enable finish and auto access err interrupts
and set timing control using same values that vendor TF-A blob use to
fix this.

With this efuse can be read when either of mainline TF-A or vendor blob
is used.

  => dump_efuse
  00000000: 52 4b 33 82  RK3.
  00000004: 00 fe 21 55  ..!U
  00000008: 52 4b 57 34  RKW4
  0000000c: 35 30 32 39  5029
  00000010: 00 00 00 00  ....
  00000014: 08 25 0c 0f  .%..
  00000018: 02 0d 08 00  ....
  0000001c: 00 00 f0 00  ....

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2024-01-19 10:57:36 +08:00
..
arc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
arm rockchip: rk3328: Set efuse auto mode and timing control 2024-01-19 10:57:36 +08:00
m68k Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
microblaze bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
mips Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
nios2 Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
powerpc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
riscv riscv: add ACPI fields to global data 2024-01-07 13:49:15 -07:00
sandbox test: spmi: fix tests 2024-01-16 12:26:54 +00:00
sh bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
x86 smbios: copy QEMU tables 2024-01-16 17:05:29 -05:00
xtensa bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
.gitignore
Kconfig riscv: allow usage of ACPI 2024-01-07 13:49:15 -07:00
Kconfig.nxp
u-boot-elf.lds