chip/max32660/flash_chip.c: Format with clang-format
BRANCH=none
TEST=none
@@ -123,7 +123,6 @@ int crec_flash_physical_write(int offset, int size, const char *data)
// Align the address and read/write if we have to
if (offset & 0x3) {
-
// Figure out how many bytes we have to write to round up the
// address
bytes_written = 4 - (offset & 0x3);
@@ -163,7 +162,6 @@ int crec_flash_physical_write(int offset, int size, const char *data)
}
if (size >= 16) {
-
// write in 128-bit bursts while we can
MXC_FLC->cn &= ~MXC_F_FLC_CN_WDTH;
@@ -330,8 +328,8 @@ static int command_flash_test1(int argc, char **argv)
/*
* erase page
*/
- error_status = crec_flash_physical_erase(flash_address,
- CONFIG_FLASH_ERASE_SIZE);
+ error_status = crec_flash_physical_erase(
+ flash_address, CONFIG_FLASH_ERASE_SIZE);
if (error_status != EC_SUCCESS) {
CPRINTS("Error with crec_flash_physical_erase\n");
return EC_ERROR_UNKNOWN;
@@ -389,8 +387,8 @@ static int command_flash_test1(int argc, char **argv)
*/
for (page = PAGE_START; page <= PAGE_END; page++) {
flash_address = page * CONFIG_FLASH_ERASE_SIZE;
- error_status = crec_flash_physical_erase(flash_address,
- CONFIG_FLASH_ERASE_SIZE);
+ error_status = crec_flash_physical_erase(
+ flash_address, CONFIG_FLASH_ERASE_SIZE);
if (error_status != EC_SUCCESS) {
CPRINTS("Error with crec_flash_physical_erase\n");
return EC_ERROR_UNKNOWN;
