summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/board.h
diff options
context:
space:
mode:
authorJun Lin <CHLin56@nuvoton.com>2021-04-12 16:31:04 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-12 17:44:56 +0000
commitf334d6f9d4116eeb4999293108abf8fe147d6f83 (patch)
tree95b1171cbbfd2d34ae4a8a23da95df6a2947688d /zephyr/shim/include/board.h
parente07d94a3c8a209d6ae848cd8412ccb9dac397253 (diff)
downloadchrome-ec-f334d6f9d4116eeb4999293108abf8fe147d6f83.tar.gz
Zephyr: cros_flash: change the flash erase size from 4K to 64K
This CL aligns the ECOS's setting for flash erase size (i.e. 64K.) With this change, the time to erase 256KB RW in Zephyr is close to that in ECOS. BRANCH=none BUG=b:184981080 TEST= Before this CL: flasherase 0x40000 0x40000 Erasing 262144 bytes at 0x40000... t = 1787100 With this CL: flasherase 0x40000 0x40000 Erasing 262144 bytes at 0x40000... t = 414700 Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: I11478f92641cd1110177c552bd7d93276c94f381 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2821111 Tested-by: CH Lin <chlin56@nuvoton.com> Reviewed-by: Yuval Peress <peress@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim/include/board.h')
0 files changed, 0 insertions, 0 deletions