src/mb: Use "foo *bar" instead of "foo* bar"

Change-Id: Iedc2e48349e40e94863c8080d11e11dbe6084c9d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/27406
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Elyes HAOUAS 2018-07-08 12:38:11 +02:00 committed by Patrick Georgi
parent c92f5f218f
commit 95bca33efa
6 changed files with 12 additions and 12 deletions

View File

@ -66,7 +66,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current; return current;
} }
unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t* ivrs, unsigned long current) unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t *ivrs, unsigned long current)
{ {
uint8_t *p; uint8_t *p;

View File

@ -247,7 +247,7 @@ static void execute_memory_test(void)
uint32_t x; uint32_t x;
uint32_t y; uint32_t y;
uint32_t z; uint32_t z;
uint32_t* dataptr; uint32_t *dataptr;
uint32_t readback; uint32_t readback;
uint32_t start = 0x300000; uint32_t start = 0x300000;
printk(BIOS_DEBUG, "Writing test pattern 1 to memory...\n"); printk(BIOS_DEBUG, "Writing test pattern 1 to memory...\n");
@ -317,7 +317,7 @@ static void execute_memory_test(void)
static spinlock_t printk_spinlock CAR_GLOBAL; static spinlock_t printk_spinlock CAR_GLOBAL;
spinlock_t* romstage_console_lock(void) spinlock_t *romstage_console_lock(void)
{ {
return car_get_var_ptr(&printk_spinlock); return car_get_var_ptr(&printk_spinlock);
} }
@ -329,7 +329,7 @@ void initialize_romstage_console_lock(void)
static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL; static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL;
spinlock_t* romstage_nvram_cbfs_lock(void) spinlock_t *romstage_nvram_cbfs_lock(void)
{ {
return car_get_var_ptr(&nvram_cbfs_spinlock); return car_get_var_ptr(&nvram_cbfs_spinlock);
} }
@ -341,7 +341,7 @@ void initialize_romstage_nvram_cbfs_lock(void)
static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL; static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL;
spinlock_t* romstage_microcode_cbfs_lock(void) spinlock_t *romstage_microcode_cbfs_lock(void)
{ {
return car_get_var_ptr(&microcode_cbfs_spinlock); return car_get_var_ptr(&microcode_cbfs_spinlock);
} }

View File

@ -66,7 +66,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current; return current;
} }
unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t* ivrs, unsigned long current) unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t *ivrs, unsigned long current)
{ {
uint8_t *p; uint8_t *p;

View File

@ -288,7 +288,7 @@ static void execute_memory_test(void)
uint32_t x; uint32_t x;
uint32_t y; uint32_t y;
uint32_t z; uint32_t z;
uint32_t* dataptr; uint32_t *dataptr;
uint32_t readback; uint32_t readback;
uint32_t start = 0x300000; uint32_t start = 0x300000;
printk(BIOS_DEBUG, "Writing test pattern 1 to memory...\n"); printk(BIOS_DEBUG, "Writing test pattern 1 to memory...\n");
@ -358,7 +358,7 @@ static void execute_memory_test(void)
static spinlock_t printk_spinlock CAR_GLOBAL; static spinlock_t printk_spinlock CAR_GLOBAL;
spinlock_t* romstage_console_lock(void) spinlock_t *romstage_console_lock(void)
{ {
return car_get_var_ptr(&printk_spinlock); return car_get_var_ptr(&printk_spinlock);
} }
@ -370,7 +370,7 @@ void initialize_romstage_console_lock(void)
static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL; static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL;
spinlock_t* romstage_nvram_cbfs_lock(void) spinlock_t *romstage_nvram_cbfs_lock(void)
{ {
return car_get_var_ptr(&nvram_cbfs_spinlock); return car_get_var_ptr(&nvram_cbfs_spinlock);
} }
@ -382,7 +382,7 @@ void initialize_romstage_nvram_cbfs_lock(void)
static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL; static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL;
spinlock_t* romstage_microcode_cbfs_lock(void) spinlock_t *romstage_microcode_cbfs_lock(void)
{ {
return car_get_var_ptr(&microcode_cbfs_spinlock); return car_get_var_ptr(&microcode_cbfs_spinlock);
} }

View File

@ -28,7 +28,7 @@
#include "memory.c" #include "memory.c"
void * asmlinkage romstage_main(unsigned long bist) void *asmlinkage romstage_main(unsigned long bist)
{ {
int cbmem_was_initted; int cbmem_was_initted;

View File

@ -61,7 +61,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current; return current;
} }
unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t* ivrs, unsigned long current) unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t *ivrs, unsigned long current)
{ {
uint8_t *p; uint8_t *p;