soc/intel: Remove space between function name and '('
Change-Id: I1dbfca33c437c680118eb3a92e60b5607c93e565 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77768 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
d3bb087360
commit
c54a967147
|
@ -17,10 +17,10 @@ struct efi_wrapper_params {
|
||||||
/* Mainboard Inputs */
|
/* Mainboard Inputs */
|
||||||
int version;
|
int version;
|
||||||
|
|
||||||
void ABI_X86 (*console_out)(unsigned char byte);
|
void ABI_X86(*console_out)(unsigned char byte);
|
||||||
|
|
||||||
unsigned int tsc_ticks_per_microsecond;
|
unsigned int tsc_ticks_per_microsecond;
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
typedef int ABI_X86 (*efi_wrapper_entry_t)(struct efi_wrapper_params *);
|
typedef int ABI_X86(*efi_wrapper_entry_t)(struct efi_wrapper_params *);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -58,7 +58,7 @@ struct mrc_params {
|
||||||
|
|
||||||
struct mrc_mainboard_params mainboard;
|
struct mrc_mainboard_params mainboard;
|
||||||
|
|
||||||
void ABI_X86 (*console_out)(unsigned char byte);
|
void ABI_X86(*console_out)(unsigned char byte);
|
||||||
|
|
||||||
int prev_sleep_state;
|
int prev_sleep_state;
|
||||||
|
|
||||||
|
@ -76,6 +76,6 @@ struct mrc_params {
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
/* Call into wrapper. */
|
/* Call into wrapper. */
|
||||||
typedef int ABI_X86 (*mrc_wrapper_entry_t)(struct mrc_params *);
|
typedef int ABI_X86(*mrc_wrapper_entry_t)(struct mrc_params *);
|
||||||
|
|
||||||
#endif /* _MRC_WRAPPER_H_ */
|
#endif /* _MRC_WRAPPER_H_ */
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#define ABI_X86 __attribute__((regparm(0)))
|
#define ABI_X86 __attribute__((regparm(0)))
|
||||||
|
|
||||||
typedef void ABI_X86 (*tx_byte_func)(unsigned char byte);
|
typedef void ABI_X86(*tx_byte_func)(unsigned char byte);
|
||||||
|
|
||||||
enum board_type {
|
enum board_type {
|
||||||
BOARD_TYPE_CRB_MOBILE = 0, /* CRB Mobile */
|
BOARD_TYPE_CRB_MOBILE = 0, /* CRB Mobile */
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include <soc/pei_data.h>
|
#include <soc/pei_data.h>
|
||||||
|
|
||||||
typedef int ABI_X86 (*pei_wrapper_entry_t)(struct pei_data *pei_data);
|
typedef int ABI_X86(*pei_wrapper_entry_t)(struct pei_data *pei_data);
|
||||||
|
|
||||||
static inline void pei_data_usb2_port(struct pei_data *pei_data, int port,
|
static inline void pei_data_usb2_port(struct pei_data *pei_data, int port,
|
||||||
uint16_t length, uint8_t enable,
|
uint16_t length, uint8_t enable,
|
||||||
|
|
|
@ -245,7 +245,7 @@ static void set_ioapic_used(uint32_t irq)
|
||||||
{
|
{
|
||||||
size_t word_offset = irq / 32;
|
size_t word_offset = irq / 32;
|
||||||
size_t bit_offset = irq % 32;
|
size_t bit_offset = irq % 32;
|
||||||
assert (word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
|
assert(word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
|
||||||
gpio_ioapic_irqs_used[word_offset] |= BIT(bit_offset);
|
gpio_ioapic_irqs_used[word_offset] |= BIT(bit_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ bool gpio_routes_ioapic_irq(uint32_t irq)
|
||||||
{
|
{
|
||||||
size_t word_offset = irq / 32;
|
size_t word_offset = irq / 32;
|
||||||
size_t bit_offset = irq % 32;
|
size_t bit_offset = irq % 32;
|
||||||
assert (word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
|
assert(word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
|
||||||
return (gpio_ioapic_irqs_used[word_offset] & BIT(bit_offset)) != 0;
|
return (gpio_ioapic_irqs_used[word_offset] & BIT(bit_offset)) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -830,7 +830,7 @@ static int gpio_route_pmc_gpio_gpe(int pmc_gpe_num)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
routes = soc_pmc_gpio_routes(&num_routes);
|
routes = soc_pmc_gpio_routes(&num_routes);
|
||||||
assert (routes != NULL);
|
assert(routes != NULL);
|
||||||
for (i = 0; i < num_routes; i++, routes++) {
|
for (i = 0; i < num_routes; i++, routes++) {
|
||||||
if (pmc_gpe_num == routes->pmc)
|
if (pmc_gpe_num == routes->pmc)
|
||||||
return routes->gpio;
|
return routes->gpio;
|
||||||
|
|
Loading…
Reference in New Issue