diff options
Diffstat (limited to 'common/cbi_eeprom.c')
-rw-r--r-- | common/cbi_eeprom.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/cbi_eeprom.c b/common/cbi_eeprom.c index ef20fdc7e2..da7d85f21b 100644 --- a/common/cbi_eeprom.c +++ b/common/cbi_eeprom.c @@ -1,4 +1,4 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. +/* Copyright 2021 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -14,20 +14,20 @@ #include "util.h" #include "write_protect.h" -#define CPRINTS(format, args...) cprints(CC_SYSTEM, "CBI " format, ## args) +#define CPRINTS(format, args...) cprints(CC_SYSTEM, "CBI " format, ##args) /* * We allow EEPROMs with page size of 8 or 16. Use 8 to be the most compatible. * This causes a little more overhead for writes, but we are not writing to the * EEPROM outside of the factory process. */ -#define EEPROM_PAGE_WRITE_SIZE 8 -#define EEPROM_PAGE_WRITE_MS 5 +#define EEPROM_PAGE_WRITE_SIZE 8 +#define EEPROM_PAGE_WRITE_MS 5 static int eeprom_read(uint8_t offset, uint8_t *data, int len) { - return i2c_read_block(I2C_PORT_EEPROM, I2C_ADDR_EEPROM_FLAGS, - offset, data, len); + return i2c_read_block(I2C_PORT_EEPROM, I2C_ADDR_EEPROM_FLAGS, offset, + data, len); } static int eeprom_is_write_protected(void) |