Skip to contentSkip to conversation

Enable eeprom tlv command for SpacemiT K3 in main app

PATCH Applied E Shattow 2 participants 3 messages Oct 21 – Oct 23 RISC-V SpacemiT SoC Support

lore
Share & tools
lore

E Shattow

author
#0 lore raw

v2 cover Enable eeprom tlv command for SpacemiT K3 in main app

A few commits that have the required eeprom nodes landed recently with the import of Linux v7.3 devicetree-rebasing to U-Boot dts subtree, so let's enable the eeprom tlv command in SpacemiT K3 config. There's not any SPL in-tree so don't worry yet about implementing such hooks or config options.

Changes since v1:

- Drop cherry-picked dts subtree patches 1,2,3 now redundant
- Patch 4 => 1 and apply tags

E Shattow (1):
configs: spacemit: k3: enable eeprom tlv command in main app

 configs/spacemit_k3_defconfig | 2 ++
 1 file changed, 2 insertions(+)

base-commit: 62c9805d8d57cad407f0295879cc9a6182da464a

Signature · 1 line
2.53.0
author
#1 lore raw

PATCH v2 1/1 configs: spacemit: k3: enable eeprom tlv command in main app

Enable "tlv" command. SPL is not yet upstream so this is only in the main app.

---
 configs/spacemit_k3_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/spacemit_k3_defconfig +2 -0
index 586305c62322..66d1a36c79c3 100644
@@ -22,6 +22,7 @@ CONFIG_SYS_CBSIZE=256
 CONFIG_SYS_PBSIZE=276
 # CONFIG_BOARD_INIT is not set
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_TLV_EEPROM=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
@@ -44,6 +45,7 @@ CONFIG_SPACEMIT_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_SPACEMIT_K1=y
 CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
 CONFIG_PHY_GIGE=y
 CONFIG_DWC_ETH_QOS=y
 CONFIG_DWC_ETH_QOS_SPACEMIT=y
Signature · 1 line
2.53.0
maintainer Applied
#2 lore raw
In reply to E Shattow
Quoted 9 lines · E Shattow

A few commits that have the required eeprom nodes landed recently with the import of Linux v7.3 devicetree-rebasing to U-Boot dts subtree, so let's enable the eeprom tlv command in SpacemiT K3 config. There's not any SPL in-tree so don't worry yet about implementing such hooks or config options.

Changes since v1:

[...]

Applied, thanks!

[1/1] configs: spacemit: k3: enable eeprom tlv command in main app

      https://git.u-boot-project.org/u-boot/custodians/u-boot-spacemit/-/commit/2d79480aad04cb36043963cb4be1caab2fe35da3

Best regards,

Signature · 1 line
Yixun Lan <[email protected]>