eCTS: Expedite flashing time

eCTS tests are small. We can use smaller flash size to expedite
tests. This patch reduces flashing time for stm32l476 from 24 sec
to 6 sec.

BUG=chromium:736020
BRANCH=none
TEST=python util/run_ects.py

Change-Id: I829ee2c947664f2d7ed373f52ff336e9a9580817
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/553580
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Daisuke Nojiri
2017-06-28 16:07:02 -07:00
committed by chrome-bot
parent af160d8201
commit 75efd78a59

View File

@@ -8,6 +8,12 @@
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
#ifdef CTS_MODULE
/* CTS tests are small. We can use smaller size to expedite flash time. */
#undef CONFIG_FLASH_SIZE
#define CONFIG_FLASH_SIZE 0x00040000 /* 256k */
#endif
/* Optional features */
#undef CONFIG_WATCHDOG_HELP
#undef CONFIG_LID_SWITCH