summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-05-01 10:47:59 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-01 23:06:07 +0000
commitb2a18a49fecd0081f7ebba00c489d07262ec58d6 (patch)
treecc2af022a668ba9e5856c85b0a5ca8d1901aa251
parent5fc0cf5a8994b143f0385886fe4f4c03a3b9b9d3 (diff)
downloadchrome-ec-b2a18a49fecd0081f7ebba00c489d07262ec58d6.tar.gz
cleanup: Update config.h with some missing options
Our goal is to use include/config.h as the canonical list of all CONFIG_ options. Several CONFIG_ options are in use in various places in the code, but aren't mentioned in the header. This CL adds these options: CONFIG_ACCELGYRO_LSM6DS0 CONFIG_BATTERY_BQ27621 CONFIG_BATTERY_RYU CONFIG_BATTERY_SAMUS CONFIG_USB_RAM_ACCESS_SIZE CONFIG_USB_RAM_ACCESS_TYPE CONFIG_USB_RAM_BASE CONFIG_USB_RAM_SIZE And it changes this misspelled one: CONIFG_USB_PD_CHECK_MAX_REQUEST_ALLOWED to this: CONFIG_USB_PD_CHECK_MAX_REQUEST_ALLOWED BUG=none BRANCH=none TEST=make buildall Change-Id: I1b4d7ca65efb356f6450a9bc94bb03c1923d933b Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/268778 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--include/config.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 10d335f9ff..ca6bcea988 100644
--- a/include/config.h
+++ b/include/config.h
@@ -41,6 +41,7 @@
/* Specify type of accelerometers attached. */
#undef CONFIG_ACCEL_KXCJ9
+#undef CONFIG_ACCELGYRO_LSM6DS0
/* Compile chip support for analog-to-digital convertor */
#undef CONFIG_ADC
@@ -78,15 +79,18 @@
/* Battery config */
/*
- * Compile battery-specific code. Choose at most one.
+ * Compile battery-specific code.
*
* Note that some boards have their own unique battery constants / functions.
* In this case, those are provided in board/(boardname)/battery.c, and none of
* these are defined.
*/
-#undef CONFIG_BATTERY_BQ20Z453 /* BQ20Z453 battery used on some ARM laptops */
-#undef CONFIG_BATTERY_BQ27541 /* BQ27541 battery */
-#undef CONFIG_BATTERY_LINK /* Battery used on Link */
+#undef CONFIG_BATTERY_BQ20Z453
+#undef CONFIG_BATTERY_BQ27541
+#undef CONFIG_BATTERY_BQ27621
+#undef CONFIG_BATTERY_LINK
+#undef CONFIG_BATTERY_RYU
+#undef CONFIG_BATTERY_SAMUS
/* Compile mock battery support; used by tests. */
#undef CONFIG_BATTERY_MOCK
@@ -1256,7 +1260,7 @@
#undef CONFIG_USB_PD_ALT_MODE_DFP
/* Check if max voltage request is allowed before each request */
-#undef CONIFG_USB_PD_CHECK_MAX_REQUEST_ALLOWED
+#undef CONFIG_USB_PD_CHECK_MAX_REQUEST_ALLOWED
/* Default state of PD communication enabled flag */
#define CONFIG_USB_PD_COMM_ENABLED 1
@@ -1333,6 +1337,12 @@
/* Compile chip support for the USB device controller */
#undef CONFIG_USB
+/* USB device buffers and descriptors */
+#undef CONFIG_USB_RAM_ACCESS_SIZE
+#undef CONFIG_USB_RAM_ACCESS_TYPE
+#undef CONFIG_USB_RAM_BASE
+#undef CONFIG_USB_RAM_SIZE
+
/* Disable automatic connection of USB peripheral */
#undef CONFIG_USB_INHIBIT_CONNECT