summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/util.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-30 12:50:26 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-09 03:17:46 +0000
commit407a3cfc7c7423b3f03289b094bc1dfd2082a3c4 (patch)
tree97df1f94370c0a5675b7e06e9d0ed0ce0b4710bf /zephyr/zmake/zmake/util.py
parentba9df2aa09deeae5d851c59469d782b1a7a0efe4 (diff)
downloadchrome-ec-407a3cfc7c7423b3f03289b094bc1dfd2082a3c4.tar.gz
Split out some USB-C config into new files
The Zephyr build needs this information but cannot use the whole board.c file. It is pretty big anyway, so let's move some of the USB-C config info into a separate file. Add a header file for the part specific to this config. We can progressively move more as Zephyr is able to build it. This requires the addition of many Kconfig options, so will be done in stages. BUG=b:175434113 BRANCH=none TEST=make -j30 buildall With a zephyr-chrome CL, build volteer on zephyr Check for other boards: for b in $(grep volteer board/*/build.mk |awk -F/ '{print $2}'); do \ echo $b; grep -A5 "enum usbc_port" board/$b/board.h; done Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I2a4bb0af2b8571ce992cdbbc8362dec25176872e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2605277 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/zmake/zmake/util.py')
0 files changed, 0 insertions, 0 deletions