]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
qcom_defconfig: Enable ethernet and I2C support
authorSumit Garg <sumit.garg@linaro.org>
Mon, 19 Feb 2024 08:41:44 +0000 (14:11 +0530)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 4 Apr 2024 15:46:44 +0000 (17:46 +0200)
QCS404 supports Synopsys Designware Ethernet QOS IP and we already have
the corresponding glue layer present upstream as:
drivers/net/dwc_eth_qos_qcom.c. So enable corresponding support.

Along with that it is possible for Qualcomm platforms to retrieve MAC
address from I2C eeprom present on board. So enable corresponding
support as well.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
configs/qcom_defconfig

index 222db6448abae4639f845114c99517d3ceffd6b9..cbc612b44bd96b79196e673a5d10838eedb98adf 100644 (file)
@@ -26,7 +26,6 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_CAT=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_LOG=y
-# CONFIG_NET is not set
 CONFIG_BUTTON_QCOM_PMIC=y
 CONFIG_CLK=y
 CONFIG_CLK_QCOM_QCS404=y
@@ -65,3 +64,26 @@ CONFIG_VIDEO_SIMPLE=y
 CONFIG_HEXDUMP=y
 # CONFIG_GENERATE_SMBIOS_TABLE is not set
 CONFIG_LMB_MAX_REGIONS=64
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_EEPROM=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_PING=y
+CONFIG_DM_ETH=y
+CONFIG_DM_ETH_PHY=y
+CONFIG_DM_MDIO=y
+CONFIG_DWC_ETH_QOS=y
+CONFIG_DWC_ETH_QOS_QCOM=y
+CONFIG_RGMII=y
+CONFIG_PHY_MICREL=y
+CONFIG_PHY_MICREL_KSZ90X1=y
+CONFIG_MISC=y
+CONFIG_NVMEM=y
+CONFIG_DM_I2C=y
+CONFIG_I2C_SUPPORT=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_EEPROM=y
+CONFIG_SYS_I2C=y
+CONFIG_SYS_I2C_QUP=y
+CONFIG_SYS_I2C_EEPROM_BUS=2
+CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
+CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=5