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>
This commit is contained in:
Bill Richardson
2015-05-01 10:47:59 -07:00
committed by ChromeOS Commit Bot
parent 5fc0cf5a89
commit b2a18a49fe

View File

@@ -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