summaryrefslogtreecommitdiff
path: root/baseboard/brya/baseboard.h
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-04-20 01:02:56 -0700
committerCommit Bot <commit-bot@chromium.org>2021-04-21 02:04:30 +0000
commit0f69cef4c4871d70f959eff2e54761acc0e0921b (patch)
tree34782820490c2196a8639a7b2c3b15566cd440be /baseboard/brya/baseboard.h
parentd77890f15553f9448bd0da19c2bcff76d61980ee (diff)
downloadchrome-ec-0f69cef4c4871d70f959eff2e54761acc0e0921b.tar.gz
brya: Define fw_config at board level
This updates the brya FW config fields based on the brya/config.star definitions. FW config fields and values are now defined at the project level rather than the program level. In other words each board (variant) defines its own FW config and no longer relies on baseboard definitions. BRANCH=none BUG=b:180434685 TEST=USB C1 port still works on brya for PD charging and SS data Change-Id: I055b0e2b051b7d41bbe116455274fe8b4a785741 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2837417 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard/brya/baseboard.h')
-rw-r--r--baseboard/brya/baseboard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard.h b/baseboard/brya/baseboard.h
index 4dd67b2976..62553d2c88 100644
--- a/baseboard/brya/baseboard.h
+++ b/baseboard/brya/baseboard.h
@@ -217,6 +217,12 @@
*/
__override_proto void board_cbi_init(void);
+/**
+ * Initialize the FW_CONFIG from CBI data. If the CBI data is not valid, set the
+ * FW_CONFIG to the board specific defaults.
+ */
+__override_proto void board_init_fw_config(void);
+
/*
* Check battery disconnect state.
* This function will return if battery is initialized or not.