chip/npcx/espi.c: Format with clang-format
BRANCH=none
TEST=none
@@ -164,8 +164,7 @@ static void espi_vw_config_in(const struct vwevms_config_t *config)
if (index == config->idx) {
/* Get Wire field */
val = NPCX_VWEVMS(i) & 0x0F;
- val |= VWEVMS_FIELD(config->idx,
- config->idx_en,
+ val |= VWEVMS_FIELD(config->idx, config->idx_en,
config->pltrst_en,
config->int_en,
config->espirst_en);
@@ -196,8 +195,7 @@ static void espi_vw_config_out(const struct vwevsm_config_t *config)
if (index == config->idx) {
/* Preserve WIRE(3-0) and HW_WIRE (27-24). */
val = NPCX_VWEVSM(i) & 0x0F00000F;
- val |= VWEVSM_FIELD(config->idx,
- config->idx_en,
+ val |= VWEVSM_FIELD(config->idx, config->idx_en,
config->valid,
config->pltrst_en,
config->cdrst_en);
@@ -625,9 +623,8 @@ static void espi_interrupt(void)
*/
if (boot_load_done == 0 &&
IS_PERIPHERAL_CHAN_ENABLE(NPCX_ESPI_CH_VW)) {
-
- espi_vw_set_wire(
- VW_PERIPHERAL_BTLD_STATUS_DONE, 1);
+ espi_vw_set_wire(VW_PERIPHERAL_BTLD_STATUS_DONE,
+ 1);
boot_load_done = 1;
}
}
@@ -733,6 +730,5 @@ static int command_espi(int argc, char **argv)
}
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(espi, command_espi,
- "cfg/vms/vsm/en/dis [channel]",
+DECLARE_CONSOLE_COMMAND(espi, command_espi, "cfg/vms/vsm/en/dis [channel]",
"eSPI configurations");
