soc/cavium: Remove white spaces before tabs
Change-Id: I8213835ac18a31f1c10d80ba07b50d33f8abcbd9 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/30620 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
This commit is contained in:
parent
909870aba6
commit
cb10346cd5
5 changed files with 16 additions and 16 deletions
|
@ -37,9 +37,9 @@ union bit_cfg {
|
||||||
u64 filt_cnt : 4; /* Glitch filter counter */
|
u64 filt_cnt : 4; /* Glitch filter counter */
|
||||||
u64 filt_sel : 4; /* Glitch filter select */
|
u64 filt_sel : 4; /* Glitch filter select */
|
||||||
u64 tx_od : 1; /* Set Output to Open Drain */
|
u64 tx_od : 1; /* Set Output to Open Drain */
|
||||||
u64 : 3;
|
u64 : 3;
|
||||||
u64 pin_sel : 10; /* Select type of pin */
|
u64 pin_sel : 10; /* Select type of pin */
|
||||||
u64 : 38;
|
u64 : 38;
|
||||||
} s;
|
} s;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
/* LMC */
|
/* LMC */
|
||||||
#define LMC0_PF_BAR0 0x87E088000000ULL
|
#define LMC0_PF_BAR0 0x87E088000000ULL
|
||||||
#define LMC0_DDR_PLL_CTL0 0x258
|
#define LMC0_DDR_PLL_CTL0 0x258
|
||||||
|
|
||||||
/* OCLA */
|
/* OCLA */
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ union cavium_spi_cfg {
|
||||||
u64 cslate : 1;
|
u64 cslate : 1;
|
||||||
u64 csena : 4; /* Must be one */
|
u64 csena : 4; /* Must be one */
|
||||||
u64 clkdiv : 13;
|
u64 clkdiv : 13;
|
||||||
u64 : 35;
|
u64 : 35;
|
||||||
} s;
|
} s;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ union cavium_spi_tx {
|
||||||
u64 leavecs : 1;
|
u64 leavecs : 1;
|
||||||
u64 : 3;
|
u64 : 3;
|
||||||
u64 csid : 2;
|
u64 csid : 2;
|
||||||
u64 : 42;
|
u64 : 42;
|
||||||
} s;
|
} s;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -34,13 +34,13 @@ union cn81xx_uart_ctl {
|
||||||
u64 uaa_rst : 1;
|
u64 uaa_rst : 1;
|
||||||
u64 : 2;
|
u64 : 2;
|
||||||
u64 csclk_en : 1;
|
u64 csclk_en : 1;
|
||||||
u64 : 19;
|
u64 : 19;
|
||||||
u64 h_clkdiv_sel : 3;
|
u64 h_clkdiv_sel : 3;
|
||||||
u64 : 1;
|
u64 : 1;
|
||||||
u64 h_clkdiv_rst : 1;
|
u64 h_clkdiv_rst : 1;
|
||||||
u64 h_clk_byp_sel : 1;
|
u64 h_clk_byp_sel : 1;
|
||||||
u64 h_clk_en : 1;
|
u64 h_clk_en : 1;
|
||||||
u64 : 33;
|
u64 : 33;
|
||||||
} s;
|
} s;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -39,10 +39,10 @@
|
||||||
* @param twsi_id which TWSI bus to use
|
* @param twsi_id which TWSI bus to use
|
||||||
* @param dev_addr Device address (7 bit)
|
* @param dev_addr Device address (7 bit)
|
||||||
* @param internal_addr
|
* @param internal_addr
|
||||||
* Internal address. Can be 0, 1 or 2 bytes in width
|
* Internal address. Can be 0, 1 or 2 bytes in width
|
||||||
* @param num_bytes Number of data bytes to read (1-4)
|
* @param num_bytes Number of data bytes to read (1-4)
|
||||||
* @param ia_width_bytes
|
* @param ia_width_bytes
|
||||||
* Internal address size in bytes (0, 1, or 2)
|
* Internal address size in bytes (0, 1, or 2)
|
||||||
*
|
*
|
||||||
* @return Read data, or -1 on failure
|
* @return Read data, or -1 on failure
|
||||||
*/
|
*/
|
||||||
|
@ -77,14 +77,14 @@ int64_t bdk_twsix_read_ia(bdk_node_t node, int twsi_id, uint8_t dev_addr,
|
||||||
* @param twsi_id which TWSI interface to use
|
* @param twsi_id which TWSI interface to use
|
||||||
* @param dev_addr TWSI device address (7 bit only)
|
* @param dev_addr TWSI device address (7 bit only)
|
||||||
* @param internal_addr
|
* @param internal_addr
|
||||||
* TWSI internal address (0, 8, or 16 bits)
|
* TWSI internal address (0, 8, or 16 bits)
|
||||||
* @param num_bytes Number of bytes to write (1-8)
|
* @param num_bytes Number of bytes to write (1-8)
|
||||||
* @param ia_width_bytes
|
* @param ia_width_bytes
|
||||||
* internal address width, in bytes (0, 1, 2)
|
* internal address width, in bytes (0, 1, 2)
|
||||||
* @param data Data to write. Data is written MSB first on the twsi bus, and
|
* @param data Data to write. Data is written MSB first on the twsi bus,
|
||||||
* only the lower num_bytes bytes of the argument are valid. (If
|
* and only the lower num_bytes bytes of the argument are
|
||||||
* a 2 byte write is done, only the low 2 bytes of the argument is
|
* valid. If a 2 byte write is done, only the low 2 bytes of
|
||||||
* used.
|
* the argument is used.
|
||||||
*
|
*
|
||||||
* @return Zero on success, -1 on error
|
* @return Zero on success, -1 on error
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue