Skip to contentSkip to conversation

rockchip: Provid SPL control over otp presence

PATCH In review Jonas Karlman 2 participants 2 messages Oct 4, 2024 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: Provid SPL control over otp presence

The series "rockchip: Add efuse and otp support to more SoCs" [1], merged in v2023.04, refactored and extended the Rockchip efuse and otp driver to support reading eFUSE/OTP for all supported Rockchip SoCs.

Due to use of different licenses the drivers were never combined into a single driver, however anything non SoC specific should be applied to both drivers.

The commit fe38b88453d2 ("rockchip: Provided SPL control over efuse presence") changed Makefile options for only one of the two drivers, apply same change to keep these two drivers in sync.

[1] https://lore.kernel.org/r/[email protected]/

Fixes fe38b88453d2 ("rockchip: Provided SPL control over efuse presence")

---
The request to correct this in the original patch was ignored, so here is a fix to keep both drivers in sync.

---
 drivers/misc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/Makefile +1 -1
index ff984d7b191e..f7fd1d5caeea 100644
@@ -69,7 +69,7 @@ obj-$(CONFIG_QFW_SMBIOS) += qfw_smbios.o
 obj-$(CONFIG_SANDBOX) += qfw_sandbox.o
 endif
 obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_EFUSE) += rockchip-efuse.o
-obj-$(CONFIG_ROCKCHIP_OTP) += rockchip-otp.o
+obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_OTP) += rockchip-otp.o
 obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_IODOMAIN) += rockchip-io-domain.o
 obj-$(CONFIG_SANDBOX) += syscon_sandbox.o misc_sandbox.o
 obj-$(CONFIG_SIFIVE_OTP) += sifive-otp.o
Signature · 1 line
2.46.2
#1 lore raw
Quoted 9 lines · Jonas Karlman

The series "rockchip: Add efuse and otp support to more SoCs" [1], merged in v2023.04, refactored and extended the Rockchip efuse and otp driver to support reading eFUSE/OTP for all supported Rockchip SoCs.

Due to use of different licenses the drivers were never combined into a single driver, however anything non SoC specific should be applied to both drivers.

[...]

Applied to u-boot/next, thanks!

Signature · 1 line
Tom