diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-03-18 12:15:25 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-22 07:32:48 +0000 |
commit | 9991e288816da817eb9e1b85999e8244ae8c9d70 (patch) | |
tree | ad589fa3dbac6fca57bdc805a4cf024d0ddbe0dc /board/lazor/build.mk | |
parent | b46071331a2b3ce342f40aa2e575a01134fc1320 (diff) | |
download | chrome-ec-9991e288816da817eb9e1b85999e8244ae8c9d70.tar.gz |
lazor: move sku functions into separate sku.c file
Refactor board.c to move the sku-related configuration detection
functionality to it's own file. This will make the process of
including this code in Zephyr easier.
Had to add an ugly ifdef around some TCPM stuff as we don't have that
going in Zephyr yet... sorry :-(
BUG=b:183054226,b:183118990
BRANCH=none
TEST=power sequence lazor (using CrOS EC OS build)
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ibf746de807afe284eb63134f0af47b0d2d5ac471
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2774366
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/lazor/build.mk')
-rw-r--r-- | board/lazor/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/lazor/build.mk b/board/lazor/build.mk index d06a4457f0..b8b2cbaa0b 100644 --- a/board/lazor/build.mk +++ b/board/lazor/build.mk @@ -11,4 +11,4 @@ CHIP_FAMILY:=npcx7 CHIP_VARIANT:=npcx7m6fc BASEBOARD:=trogdor -board-y=battery.o board.o led.o switchcap.o +board-y=battery.o board.o led.o sku.o switchcap.o |