From a0a6158f4b8074dd57d2bc2f4de49c9ed900c94f Mon Sep 17 00:00:00 2001 From: Keith Short Date: Thu, 18 Nov 2021 16:58:07 -0700 Subject: zephyr: i2c: Remove label from named-i2c-ports The label property was stored in the name field of i2c_ports[]. However the name field is only used by the legacy I2C console commands and not used by Zephyr builds. Remove the label property from named-i2c-ports and remove the name field from i2c_ports[] for Zephyr builds, saving a modest amount of flash space. BUG=none BRANCH=none TEST=zmake testall TEST=Boot zephyr on Herobrine, verify I2C console commands still functional. Signed-off-by: Keith Short Change-Id: I22c743c4e362d05d51432fa67f5be16989d39574 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3300664 Commit-Queue: Abe Levkoy Reviewed-by: Abe Levkoy --- zephyr/test/i2c/overlay.dts | 1 - 1 file changed, 1 deletion(-) (limited to 'zephyr/test/i2c/overlay.dts') diff --git a/zephyr/test/i2c/overlay.dts b/zephyr/test/i2c/overlay.dts index 2c56ee3b7a..1519bb1cb7 100644 --- a/zephyr/test/i2c/overlay.dts +++ b/zephyr/test/i2c/overlay.dts @@ -9,7 +9,6 @@ accel-0 { i2c-port = <&bmi_i2c>; enum-name = "I2C_PORT_ACCEL"; - label = "ACCEL_0"; }; }; }; -- cgit v1.2.1