From: Dinesh Maniyam <dinesh.mani...@intel.com>

Enable the Kconfig and Makefile for the
DWI3C driver cmd support.

Signed-off-by: Dinesh Maniyam <dinesh.mani...@intel.com>
---
 cmd/Kconfig  | 6 ++++++
 cmd/Makefile | 1 +
 2 files changed, 7 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index a04fcaa0e0..5236e7ea76 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1327,6 +1327,12 @@ config CMD_I2C
        help
          I2C support.
 
+config CMD_I3C
+       bool "i3c"
+       help
+         Enable command to list i3c devices connected to the i3c controller
+         and perform read and write on the connected i3c devices.
+
 config CMD_W1
        depends on W1
        default y if W1
diff --git a/cmd/Makefile b/cmd/Makefile
index 8410be576b..082470fa10 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -95,6 +95,7 @@ obj-$(CONFIG_CMD_GPIO) += gpio.o
 obj-$(CONFIG_CMD_HISTORY) += history.o
 obj-$(CONFIG_CMD_HVC) += smccc.o
 obj-$(CONFIG_CMD_I2C) += i2c.o
+obj-$(CONFIG_CMD_I3C) += i3c.o
 obj-$(CONFIG_CMD_IOTRACE) += iotrace.o
 obj-$(CONFIG_CMD_HASH) += hash.o
 obj-$(CONFIG_CMD_IDE) += ide.o disk.o
-- 
2.26.2

Reply via email to