summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/ecst.c6
-rwxr-xr-xutil/ecst.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/util/ecst.c b/util/ecst.c
index 9a6632c71a..7c8371ef4f 100755
--- a/util/ecst.c
+++ b/util/ecst.c
@@ -96,15 +96,15 @@ int main(int argc, char *argv[])
/* Set default values */
g_calc_type = CALC_TYPE_NONE;
- bin_params.spi_max_clk = SPI_MAX_CLOCK_DEAFULT;
- bin_params.spi_read_mode = SPI_READ_MODE_DEAFULT;
+ bin_params.spi_max_clk = SPI_MAX_CLOCK_DEFAULT;
+ bin_params.spi_read_mode = SPI_READ_MODE_DEFAULT;
bin_params.fw_load_addr =
chip_info[NPCX5M5G].ram_addr;
bin_params.fw_ep =
chip_info[NPCX5M5G].ram_addr;
bin_params.fw_err_detec_s_addr = FW_CRC_START_ADDR;
bin_params.fw_err_detec_e_addr = FW_CRC_START_ADDR;
- bin_params.flash_size = FLASH_SIZE_DEAFULT;
+ bin_params.flash_size = FLASH_SIZE_DEFAULT;
bin_params.fw_hdr_offset = 0;
ptr_fw_addr = 0x00000000;
diff --git a/util/ecst.h b/util/ecst.h
index d61f95be3b..ede4f1bfa2 100755
--- a/util/ecst.h
+++ b/util/ecst.h
@@ -142,10 +142,10 @@
#define FLASH_SIZE_8_MBYTES 0x0F
#define FLASH_SIZE_16_MBYTES 0x1F
-/* Header fields deafult values. */
-#define SPI_MAX_CLOCK_DEAFULT SPI_MAX_CLOCK_20_MHZ_VAL
-#define SPI_READ_MODE_DEAFULT SPI_NORMAL_MODE
-#define FLASH_SIZE_DEAFULT FLASH_SIZE_16_MBYTES_VAL
+/* Header fields default values. */
+#define SPI_MAX_CLOCK_DEFAULT SPI_MAX_CLOCK_20_MHZ_VAL
+#define SPI_READ_MODE_DEFAULT SPI_NORMAL_MODE
+#define FLASH_SIZE_DEFAULT FLASH_SIZE_16_MBYTES_VAL
#define FW_CRC_START_ADDR 0x00000000
#define ADDR_16_BYTES_ALIGNED_MASK 0x0000000F