chrome-ec/include
Jett Rink b7d7e16f52 ss-mux: remove unused port_addr initialization
We do not need to set the port_addr variable most places because the
SS-MUX is also the TCPC and the tcpc_config_t information is used
instead.

Remove unused variable setting to avoid confusion.

BRANCH=none
BUG=none
TEST=buildall. phaser USB-C communication (and muxs) still work which is
a nominal case for all of these changes.

Change-Id: I72ee5da251956eb133091974e8dce5ac7f8787c6
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1200064
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1231473
Reviewed-by: Martin Roth <martinroth@chromium.org>
Commit-Queue: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
2018-09-18 17:24:50 +00:00
..
2id.h rwsig: Add support for rwsig image types 2017-02-17 04:09:37 -08:00
accelgyro.h type: Rename vector_3_t to intv3_t. 2018-09-18 15:38:10 +00:00
acpi.h Move ACPI stuff out of chip/lm4 and into common 2013-12-12 18:21:56 +00:00
adc.h servo_v4: Fix ADC console command 2016-05-26 16:17:26 -07:00
als.h Shuffle const around 2018-05-18 10:05:13 -07:00
ap_hang_detect.h Add AP hang detection 2013-12-17 21:27:53 +00:00
backlight.h backlight: Adding support for active low GPIO signal 2018-01-18 05:09:37 -08:00
base32.h common: Substitute modified CRC8 with CRC-5-USB 2017-09-12 16:17:03 -07:00
base_state.h common: add API to expose detachable "base" state 2018-08-22 00:10:42 -07:00
battery.h chgstv2: Notify HOOK_BATTERY_SOC_CHANGE on battery removal 2018-08-10 18:33:23 -07:00
battery_bq27621_g1.h battery: Add support for TI's BQ27621_g1 fuel gauge. 2014-12-31 00:01:00 +00:00
battery_fuel_gauge.h battery: Optionally prevent boot at low SOC with cell imbalance. 2018-08-08 04:29:20 -07:00
battery_smart.h Basking: Fix cannot power on when resume from battery cutoff. 2017-01-13 05:00:27 -08:00
bluetooth_le.h btle: Timeout of ble_rx now based on chip time 2016-08-12 20:49:45 -07:00
bluetooth_le_ll.h btle: Accepts and maintains connections 2016-08-23 15:36:55 -07:00
board_config.h ec_features / coral: Allow disabling keyboard backlight feature 2017-08-30 03:58:28 -07:00
btle_hci2.h include: Add HCI include files from NewBlue 2016-07-22 20:37:17 -07:00
btle_hci_int.h include/btle_hcl_int.h: Fix misspellings in #defines and struct name 2016-11-15 17:41:58 -08:00
button.h buttons: Make buttons[] common. 2017-11-17 20:18:38 -08:00
byteorder.h Move include/byteorder.h -> builtin/endian.h 2016-04-22 20:40:03 -07:00
capsense.h Samus: Support capsense input as keyboard events. 2014-02-08 04:15:39 +00:00
case_closed_debug.h pd: Remove ACCESSORY states 2017-10-19 12:56:42 -07:00
ccd_config.h cr50: add more ccd open capabilities 2018-08-29 04:20:29 +00:00
cec.h CEC: Cleanup the API for the CEC buffer handlers 2018-08-22 08:16:02 -07:00
charge_manager.h charge_manager: Use enum for CHARGE_SUPPLIER_NONE 2018-09-18 15:38:16 +00:00
charge_ramp.h chg_ramp: Add charge_is_consuming_full_input_current(). 2017-11-01 16:47:21 -07:00
charge_state.h charge_state: Change CHARGE_MAX_SLEEP_USEC to 1 minute 2017-11-30 20:30:11 -08:00
charge_state_v1.h Move common charge_state time constants to a common header 2014-04-11 15:37:38 +00:00
charge_state_v2.h scarlet: Cut off battery in a custom battery condition 2018-08-02 21:50:23 -07:00
charger.h bq25703: Report actual input current limit 2018-06-04 13:31:21 -07:00
charger_detect.h lucid: add support to detect BC1.2 suppliers 2016-02-26 21:22:07 -08:00
charger_profile_override.h charger_profile: support multiple battery voltage range thresholds 2017-02-10 19:02:55 -08:00
chipset.h power: add chipset_in_or_transitioning_to_state 2018-09-18 15:38:08 +00:00
clock.h stm32: Add delay after enabling peripheral clock 2015-02-10 10:47:07 +00:00
common.h ec: Make it possible to run tests with AddressSanitizer enabled 2018-06-28 07:06:46 -07:00
compile_time_macros.h ec: Make it possible to build tests using clang 2018-06-28 07:06:46 -07:00
config.h keyboard: Ignore refresh button at boot 2018-09-18 15:38:08 +00:00
config_std_internal_flash.h cleanup: Remove CONFIG_FW_IMAGE_SIZE 2015-09-24 18:07:01 -07:00
console.h ec: Make it possible to run tests with AddressSanitizer enabled 2018-06-28 07:06:46 -07:00
console_channel.inc console_channel.inc: Add more ifdef to reduce number of channels 2018-05-26 00:21:42 -07:00
consumer.h consumer: Remove flush operation 2017-12-18 20:32:58 -08:00
crc.h ec: add crc32_ctx..() to take context parameter. 2018-02-23 23:13:01 -08:00
crc8.h crc8: Support crc calculation across non-contiguous data 2016-03-18 22:16:53 -07:00
cros_board_info.h cbi-util: Allow field size to be specified 2018-05-16 16:42:47 -07:00
crypto_api.h g: common: introduce generic crypto API 2017-01-25 22:12:28 -08:00
curve25519.h core/cortex-m0/curve25519: Integrate fast curve25519 implementation 2017-07-03 21:44:34 -07:00
device_event.h Add support for reporting device events 2017-06-30 03:08:42 -07:00
device_state.h cr50: Refactor Rdd state machine 2017-08-23 17:01:21 -07:00
dma.h common: Change interface to dma_test 2015-07-27 22:19:16 +00:00
dptf.h Support DPTF charger current limiting 2014-02-08 00:14:48 +00:00
ec_commands.h common: add API to expose detachable "base" state 2018-08-22 00:10:42 -07:00
ec_ec_comm_master.h common/ec_ec_comm_master/slave: Add support for EC hibernate 2018-03-28 23:23:31 -07:00
ec_ec_comm_slave.h charge_state_v2: Store battery information in new structures 2018-02-07 11:55:57 -08:00
eeprom.h cleanup: eeprom and option comments 2013-10-25 20:12:49 +00:00
espi.h espi: Add API to test if signal is eSPI virtual wire 2018-01-02 15:48:20 -08:00
event_log.h pd_log: Make PD logging more generic for general purpose logging 2017-08-02 15:02:34 -07:00
extension.h ec: Make it possible to run tests with AddressSanitizer enabled 2018-06-28 07:06:46 -07:00
extpower.h Remove obsolete board-specific code 2015-06-10 18:24:05 +00:00
fan.h NPCX/fan: Update rpm_actual in duty mode 2018-07-04 02:01:53 -07:00
flash.h EFS: Switch active slot when current slot is invalid 2017-09-21 01:07:55 -07:00
fpsensor.h fpsensor: export matched finger index 2018-05-09 11:21:30 -07:00
gesture.h board: eve: Do not set accelerometer ODR beyond 200Hz 2018-08-17 11:17:51 -07:00
gpio.h ec_gpio: Add GPIO power down support 2017-12-28 12:35:08 -08:00
gpio.wrap gpio.wrap: add *_R[OW] macros for easier pin configuration. 2018-08-21 10:33:48 -07:00
gpio_list.h Add check to prevent duplicate PIN assignments 2016-09-09 17:15:25 -07:00
gpio_signal.h mec1322: Simplify GPIO lists 2015-05-27 03:58:16 +00:00
hooks.h common: add BASE_CHANGE hook 2018-08-21 19:27:46 -07:00
host_command.h ec: Make it possible to run tests with AddressSanitizer enabled 2018-06-28 07:06:46 -07:00
hwtimer.h hwtimer: Tidy up and clarify some hw_clock comments 2018-09-18 15:38:06 +00:00
i2c.h i2c: Don't try to unwedge unpowered busses. 2018-08-22 00:10:38 -07:00
i8042_protocol.h More supports for A20 enable/disable 2012-11-04 20:27:57 -08:00
inductive_charging.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
keyboard_8042.h keyboard: Add CONFIG_KEYBOARD_SCANCODE_CALLBACK for board-specific hooks. 2018-08-17 11:17:57 -07:00
keyboard_8042_sharedlib.h keyboard: Change scan code magic values to enum. 2018-08-16 13:14:46 -07:00
keyboard_backlight.h kblight: Add keyboard backlight control module 2018-05-11 12:10:44 -07:00
keyboard_config.h keyboard_scan: Add option to support keyboards with language ID 2018-05-30 12:50:39 -07:00
keyboard_mkbp.h mkbp: Add support for buttons and switches. 2016-07-19 18:33:36 -07:00
keyboard_protocol.h hammer: Detect backlight circuitry 2017-12-12 03:57:19 -08:00
keyboard_raw.h ectool: Support keyboard factory scanning 2016-04-01 00:21:35 -07:00
keyboard_scan.h ec/google: Add command to fetch keyboard ID from EC 2018-06-20 14:23:49 -07:00
keyboard_test.h Move keyboard dimension and key constants to keyboard_config.h 2013-03-22 11:24:29 -07:00
lb_common.h common: lightbar: put multiple commands under i2c_lock 2015-09-19 12:27:21 -07:00
led_common.h common/led_common: Add API for controlling LED state 2017-05-02 17:45:16 -07:00
led_pwm.h common: Add support for PWM LEDs. 2018-02-05 23:05:39 -08:00
libsharedobjs.h libsharedobjs: Add libsharedobjs.h. 2015-07-17 03:17:57 +00:00
lid_angle.h Cyan: Added Clamshell/Tablet mode support 2015-08-10 20:42:18 +00:00
lid_switch.h Split lid switch code out of switch.c to its own file 2013-04-02 14:12:57 -07:00
lightbar.h common: lightbar: Add histeresis to prevent flickering 2015-10-23 18:03:12 -07:00
lightbar_msg_list.h Remove PULSE and TEST sequences from lightbar module 2014-10-08 02:50:54 +00:00
lightbar_opcode_list.h lightbar: interpreter additions to encode other patterns 2014-10-15 18:22:37 +00:00
link_defs.h common: add BASE_CHANGE hook 2018-08-21 19:27:46 -07:00
lpc.h lpc: remove lpc_host_reset 2018-03-26 17:03:27 -07:00
mag_cal.h type: Rename mat44_t to mat44_float_t. 2018-09-18 15:38:14 +00:00
mat33.h type: Rename mat33_t to mat33_float_t 2018-09-18 15:38:14 +00:00
mat44.h type: Rename mat44_t to mat44_float_t. 2018-09-18 15:38:14 +00:00
math_util.h type: Rename matrix_3x3_t to mat33_fp_t 2018-09-18 15:38:15 +00:00
memory_commands.h Initial sources import 2/3 2011-12-07 19:10:02 +00:00
mkbp_event.h ec: Make it possible to run tests with AddressSanitizer enabled 2018-06-28 07:06:46 -07:00
module_id.h servo_micro: Add enable_ite_dfu and get_ite_chipid console commands. 2018-08-09 22:04:40 -07:00
motion_lid.h type: Rename matrix_3x3_t to mat33_fp_t 2018-09-18 15:38:15 +00:00
motion_sense.h type: Rename matrix_3x3_t to mat33_fp_t 2018-09-18 15:38:15 +00:00
nvcounter.h Add non-volatile flash counter 2017-06-02 10:38:57 -07:00
nvmem.h cr50: Make sure TPM wipe only clears TPM data. 2017-02-23 01:19:07 -08:00
nvmem_vars.h Add nvmem-backed key=value variable storage 2016-12-21 19:42:37 -08:00
onewire.h Clean up LED and onewire modules 2012-10-25 14:12:11 -07:00
otp.h Add OTP support 2017-07-28 17:45:13 -07:00
panic.h assert/panic: mark noreturn to inform the compiler 2018-07-12 22:10:02 -07:00
peci.h Switch temp sensor polling to use hooks instead of task 2012-11-01 12:45:22 -07:00
physical_presence.h pp: add API to show when press is expected 2018-01-12 03:27:08 -08:00
pinweaver.h Cr50: Add logging functionality to PinWeaver. 2018-04-27 12:22:26 -07:00
pinweaver_tpm_imports.h Cr50: Add logging functionality to PinWeaver. 2018-04-27 12:22:26 -07:00
pinweaver_types.h Cr50: Add logging functionality to PinWeaver. 2018-04-27 12:22:26 -07:00
port80.h mec1322: Change the Port 80 task to a timer IRQ. 2015-10-19 18:21:22 -07:00
power.h power: Add power_get_state API 2018-07-25 19:45:30 -07:00
power_button.h KBL/SKL: Add wait between DSW_PWROK and PWRBTN 2017-06-19 21:03:29 -07:00
power_led.h Replace generated CONFIG_TASK_ macros with HAS_TASK_ 2013-04-24 16:32:58 -07:00
printf.h Add vsnprintf function. 2018-03-20 19:30:06 -07:00
producer.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
pwm.h npcx: Move pwm open-drain functionality from gpio to pwm driver. 2017-03-24 06:49:55 -07:00
queue.h Queue: Add ability to modify contiguous units inplace 2015-07-15 21:57:36 +00:00
queue_policies.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
rma_auth.h test/rma_auth: Pad authcode before passing it to rma_try_authcode 2018-06-22 02:39:42 -07:00
rollback.h rollback: Add function to fetch secret 2017-06-14 01:19:31 -07:00
rsa.h common: Split rwsig parts from rsa.h header 2017-04-11 20:22:32 -07:00
rtc.h rtc: Add functions and tests for time conversion 2017-09-26 18:24:07 -07:00
rwsig.h g: rename usb_updater into gsctool 2017-10-10 22:13:43 -07:00
sfdp.h common: Fixes the SFDP_BITFIELD() macro. 2016-01-29 02:59:58 +00:00
sha1.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
sha256.h sha256: add support for hmac_sha256, and add test for sha256 2017-06-14 05:59:37 -07:00
shared_mem.h shared_mem: Assert that shared memory size is large enough 2018-05-07 20:45:54 -07:00
smbus.h Fix various misspellings in comments 2016-11-15 17:41:53 -08:00
software_panic.h software_panic: Add a new software panic type for PMIC fault 2017-11-30 11:48:57 -08:00
spi.h stm32: add SPI master for STM32H7 2018-01-08 17:22:48 -08:00
spi_flash.h Shuffle const around 2018-05-18 10:05:13 -07:00
spi_flash_reg.h ec_flash: Add W25Q128 SPI flash 2017-12-28 14:50:32 -08:00
spi_nor.h common/spi_nor: Adds RDID and 64KiB erase support 2016-12-07 23:45:29 +00:00
stack_trace.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
switch.h gpio: Refactor IRQ handler pointer out of gpio_list 2015-04-10 22:08:25 +00:00
system.h kukui/emmc: Disable eMMC emulation when not needed 2018-08-23 13:20:38 -07:00
tablet_mode.h tablet-mode: add disable function 2018-09-18 15:38:04 +00:00
task.h tcpm: wait for TCPC to init upon first tcpc access 2018-07-25 00:14:29 -07:00
task_filter.h ec: Add a task information library for the stack analyzer. 2017-08-15 00:25:20 -07:00
task_id.h Makefile: Allow different task list for RO and RW 2017-04-25 05:52:34 -07:00
temp_sensor.h Include battery fuel gauge temp sensor in temperature sensors 2014-02-08 04:21:26 +00:00
temp_sensor_chip.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
test_util.h test: host_command_fuzz: fuzzing test 2018-08-16 00:30:08 -07:00
thermal.h Show the fan-cooling percentage for each active temp sensor 2015-01-14 03:15:41 +00:00
throttle_ap.h charge_state_v2: Throttle AP in low battery voltage 2018-05-21 18:19:22 -07:00
timer.h timer: fix clock() implementation to match TPM2 library expectations 2016-07-21 17:32:28 -07:00
touchpad.h touchpad_elan: Add retry logic if the touchpad does not respond 2018-01-21 22:20:48 -08:00
tpm_log.h cr50: log I2C slave 'wedged bus recovery' event 2017-08-23 12:19:07 -07:00
tpm_manufacture.h cr50: in dev mode allow unverified certificates 2018-05-16 12:41:38 -07:00
tpm_nvmem.h cr50: implement _plat__ShallSurviveOwnerClear 2018-08-07 18:08:54 -07:00
tpm_registers.h gsctool: support for enabling/disabling TPM. 2018-06-21 19:56:21 -07:00
tpm_vendor_cmds.h cr50: Disabling TPM or enabling TPM. 2018-06-21 01:05:47 -07:00
trng.h stm32: add TRNG support 2017-02-23 11:36:21 -08:00
u2f.h Add U2F implementation 2017-06-29 10:37:40 -07:00
u2f_impl.h Add U2F implementation 2017-06-29 10:37:40 -07:00
uart.h uart_buffering: expose interface to support non-host command 2018-08-20 21:43:06 -07:00
update_fw.h ec: add driver/touchpad_st.c 2018-03-26 23:33:33 -07:00
usb_api.h stm32/usb: Add HOOK_USB_PM_CHANGE, called when USB is resumed/suspended 2018-02-02 10:17:30 -08:00
usb_bb.h cleanup: fix all the header guards 2015-06-18 19:07:00 +00:00
usb_charge.h charge_ramp: Move ramp allowed / ilim callbacks to common code 2017-10-06 13:47:12 -07:00
usb_console.h g: add CONFIG_USB_CONSOLE_CRC 2018-02-24 01:22:46 -08:00
usb_descriptor.h touchpad heatmap: set subclass and protocol 2018-08-31 11:19:48 -07:00
usb_hid.h chip/stm32/usb_hid: Separate HID keyboard support 2016-11-16 19:04:47 -08:00
usb_hid_touchpad.h stm32: usb_hid_touchpad: add 'device certification status' report 2018-08-31 11:19:47 -07:00
usb_i2c.h hammer: enable large block reading on usb i2c passthru. 2017-11-24 02:39:04 -08:00
usb_mux.h ss-mux: remove unused port_addr initialization 2018-09-18 17:24:50 +00:00
usb_pd.h pd: Ensure TCPC exits low power mode 2018-09-18 17:19:55 +00:00
usb_pd_tcpc.h tcpm: add TCPC RX circular buffer in EC 2018-09-10 15:26:45 +00:00
usb_pd_tcpm.h pd: Change tcpm_set_drp_toggle() to tcpm_enable_drp_toggle() 2018-09-18 15:38:21 +00:00
usbc_ppc.h sn5s330: add low power mode 2018-08-23 17:42:49 -07:00
util.h rsa: Further optimization of multiplications for Cortex-M0 2018-05-29 06:02:19 -07:00
vb21_struct.h rwsig: Add support for rwsig image types 2017-02-17 04:09:37 -08:00
vboot.h Enable PD communication in RO for external display 2018-02-03 02:38:10 -08:00
vboot_hash.h vboot_hash: Abort hash calculation on flash write 2015-07-01 03:49:00 +00:00
vec3.h type: Rename vec3_t to floatv3_t. 2018-09-18 15:38:11 +00:00
vec4.h type: Rename vec4_t to floatv4_t 2018-09-18 15:38:12 +00:00
version.h common/rollback: Add support for rollback protection 2017-04-06 03:29:38 -07:00
virtual_battery.h i2c_passthru: fix virtual battery operation 2016-12-14 06:03:14 -08:00
watchdog.h Include "config.h" in include/watchdog.h. 2017-03-10 19:52:31 -08:00
wireless.h Initial Glower commit 2015-01-20 20:56:43 +00:00