summaryrefslogtreecommitdiff
path: root/driver/ppc/rt1739.h
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2022-02-23 16:04:25 +0800
committerCommit Bot <commit-bot@chromium.org>2022-02-24 08:54:18 +0000
commitc118a38a46379abff094ddd70139ae75373541e7 (patch)
treee5eab71d624fbc67818b2436471a6968a35559b9 /driver/ppc/rt1739.h
parente637ff3b749a0c44539efe9541780fb1d0ba57b6 (diff)
downloadchrome-ec-c118a38a46379abff094ddd70139ae75373541e7.tar.gz
ppc/rt1739: rename ADDRn to ADDRn_FLAGS
rename the constants to follow existing convention. BUG=none TEST=zmake configure -b krabby BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I3924e873d7e925b9b9305bf942fd966f52426e4e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3483755 Tested-by: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'driver/ppc/rt1739.h')
-rw-r--r--driver/ppc/rt1739.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/driver/ppc/rt1739.h b/driver/ppc/rt1739.h
index 2870535d99..474c390255 100644
--- a/driver/ppc/rt1739.h
+++ b/driver/ppc/rt1739.h
@@ -11,10 +11,10 @@
#include "usb_charge.h"
#include "usbc_ppc.h"
-#define RT1739_ADDR1 0x70
-#define RT1739_ADDR2 0x71
-#define RT1739_ADDR3 0x72
-#define RT1739_ADDR4 0x73
+#define RT1739_ADDR1_FLAGS 0x70
+#define RT1739_ADDR2_FLAGS 0x71
+#define RT1739_ADDR3_FLAGS 0x72
+#define RT1739_ADDR4_FLAGS 0x73
#define RT1739_REG_DEVICE_ID0 0x02
#define RT1739_DEVICE_ID_ES1 0x11