eve_fp: enable internal flash support

Enable the support to re-flash the STM32.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BRANCH=none
BUG=b:35648258
TEST=On Eve, flash the FP MCU with:
flashrom -p ec:type=fp --fast-verify -w /tmp/ec.bin

Change-Id: I34ca69e1a530f217edb93cd8a189ee6c7244e353
Reviewed-on: https://chromium-review.googlesource.com/456712
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
This commit is contained in:
Vincent Palatin
2017-03-21 15:45:32 +01:00
committed by chrome-bot
parent a240040cbf
commit 29e438184f

View File

@@ -8,13 +8,6 @@
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
/*
* TODO(crosbug.com/p/62893)
* implement flash support for STM32L4
* and write protection.
*/
#undef CONFIG_FLASH
#undef CONFIG_FLASH_PHYSICAL
#define CONFIG_SYSTEM_UNLOCKED
/* Serial console */