src/soc/intel: Remove unnecessary space after casts
Change-Id: I098104f32dd7c66d7bb79588ef315a242c3889ba Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69806 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
committed by
Martin L Roth
parent
5aa98964fb
commit
9018dee685
@@ -72,5 +72,5 @@ uint16_t get_pmbase(void)
|
||||
{
|
||||
struct device *dev = pcidev_on_root(PCI_DEVICE_NUMBER_QNC_LPC,
|
||||
PCI_FUNCTION_NUMBER_QNC_LPC);
|
||||
return (uint16_t) pci_read_config32(dev, R_QNC_LPC_PM1BLK) & B_QNC_LPC_PM1BLK_MASK;
|
||||
return (uint16_t)pci_read_config32(dev, R_QNC_LPC_PM1BLK) & B_QNC_LPC_PM1BLK_MASK;
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@ void fill_postcar_frame(struct postcar_frame *pcf)
|
||||
uintptr_t top_of_low_usable_memory;
|
||||
|
||||
/* Locate the top of RAM */
|
||||
top_of_low_usable_memory = (uintptr_t) cbmem_top();
|
||||
top_of_low_usable_memory = (uintptr_t)cbmem_top();
|
||||
top_of_ram = ALIGN_UP(top_of_low_usable_memory, 16 * MiB);
|
||||
|
||||
/* Cache postcar and ramstage */
|
||||
@@ -19,7 +19,7 @@ void fill_postcar_frame(struct postcar_frame *pcf)
|
||||
MTRR_TYPE_WRBACK);
|
||||
|
||||
/* Cache RMU area */
|
||||
postcar_frame_add_mtrr(pcf, (uintptr_t) top_of_low_usable_memory,
|
||||
postcar_frame_add_mtrr(pcf, (uintptr_t)top_of_low_usable_memory,
|
||||
0x10000, MTRR_TYPE_WRTHROUGH);
|
||||
|
||||
/* Cache ESRAM */
|
||||
|
Reference in New Issue
Block a user