diff options
author | Tyler Wang <Tyler.Wang@quanta.corp-partner.google.com> | 2023-11-14 13:16:30 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-11-16 11:59:20 +0000 |
commit | f7f661f375b9408b5e7a89295601b8b63830d3d5 (patch) | |
tree | 0a78e82beb864a4cfddb644119d7200530d1e8b4 /src/drivers | |
parent | e6411c0a550801892d9f0b1401599c76cea5db16 (diff) |
drivers: spi_flash: Add space before colon to fix coding style
BUG=none
TEST=build karis firmware pass
Change-Id: I67b4ca4c8fde795d4206eaa0b9ea9d9bfc768ac6
Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79053
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/spi/spi_flash_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/spi/spi_flash_internal.h b/src/drivers/spi/spi_flash_internal.h index e3883112ee..1927111891 100644 --- a/src/drivers/spi/spi_flash_internal.h +++ b/src/drivers/spi/spi_flash_internal.h @@ -71,10 +71,10 @@ struct spi_flash_part_id { */ uint16_t id[2]; /* Log based 2 total number of sectors. */ - uint16_t nr_sectors_shift: 4; + uint16_t nr_sectors_shift : 4; uint16_t fast_read_dual_output_support : 1; /* 1-1-2 read */ uint16_t fast_read_dual_io_support : 1; /* 1-2-2 read */ - uint16_t _reserved_for_flags: 2; + uint16_t _reserved_for_flags : 2; /* Block protection. Currently used by Winbond. */ uint16_t protection_granularity_shift : 5; uint16_t bp_bits : 3; |