diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2018-06-29 13:13:14 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-02 00:22:02 -0700 |
commit | f18fa2977539fd3460d808637503d8fcb6d0b594 (patch) | |
tree | eb0432661865b62b038d79b86937748408fcc67f | |
parent | dc5ef9e359c7491ee9d476d8c4b0aef4e4142ae6 (diff) | |
download | chrome-ec-f18fa2977539fd3460d808637503d8fcb6d0b594.tar.gz |
board: it83xx based boards start to use CHIP_FAMILY and CHIP_VARIANT
With this patch, we can use them in code.
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: Id9646ef82f26bcb6bf55f2ce33a4647b5934c365
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/1116632
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/bip/build.mk | 2 | ||||
-rw-r--r-- | board/dragonegg/build.mk | 2 | ||||
-rw-r--r-- | board/glkrvp_ite/build.mk | 2 | ||||
-rw-r--r-- | board/it83xx_evb/build.mk | 2 | ||||
-rw-r--r-- | board/reef_it8320/build.mk | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/board/bip/build.mk b/board/bip/build.mk index 6118e72e95..9842cf8903 100644 --- a/board/bip/build.mk +++ b/board/bip/build.mk @@ -7,6 +7,8 @@ # CHIP:=it83xx +CHIP_FAMILY:=it8320 +CHIP_VARIANT:=it8320bx BASEBOARD:=octopus board-y=board.o led.o diff --git a/board/dragonegg/build.mk b/board/dragonegg/build.mk index a210ca235a..563fdd0ecf 100644 --- a/board/dragonegg/build.mk +++ b/board/dragonegg/build.mk @@ -7,6 +7,8 @@ # CHIP:=it83xx +CHIP_FAMILY:=it8320 +CHIP_VARIANT:=it8320bx BASEBOARD:=dragonegg board-y=board.o diff --git a/board/glkrvp_ite/build.mk b/board/glkrvp_ite/build.mk index bc1e6c21cc..b2e416c00b 100644 --- a/board/glkrvp_ite/build.mk +++ b/board/glkrvp_ite/build.mk @@ -8,6 +8,8 @@ #it8320 CHIP:=it83xx +CHIP_FAMILY:=it8320 +CHIP_VARIANT:=it8320bx board-y=board.o board-$(CONFIG_BATTERY_SMART)+=battery.o diff --git a/board/it83xx_evb/build.mk b/board/it83xx_evb/build.mk index 0f3e2d9017..0c4aeb977c 100644 --- a/board/it83xx_evb/build.mk +++ b/board/it83xx_evb/build.mk @@ -7,6 +7,8 @@ # the IC is ITE IT8390/IT8320 CHIP:=it83xx +CHIP_FAMILY:=it8320 +CHIP_VARIANT:=it8320dx board-y=board.o board-$(CONFIG_USB_POWER_DELIVERY)+=usb_pd_policy.o diff --git a/board/reef_it8320/build.mk b/board/reef_it8320/build.mk index 328afdc8f5..9939cc8b6e 100644 --- a/board/reef_it8320/build.mk +++ b/board/reef_it8320/build.mk @@ -7,6 +7,8 @@ # # the IC is ITE IT8320 CHIP:=it83xx +CHIP_FAMILY:=it8320 +CHIP_VARIANT:=it8320bx board-y=board.o led.o board-$(CONFIG_BATTERY_SMART)+=battery.o |