summaryrefslogtreecommitdiff
path: root/chip/lm4/flash.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-05-10 13:44:02 -0700
committerChromeBot <chrome-bot@google.com>2013-05-10 16:37:11 -0700
commitf10abeb19fd74573ddb7ceb582906a765a9be60b (patch)
tree83ec60319f033eb52616a69ac14313b5f2da0a82 /chip/lm4/flash.c
parent1e4b0b6194b3ff16233e824daa4bab18a8dcce0f (diff)
downloadchrome-ec-f10abeb19fd74573ddb7ceb582906a765a9be60b.tar.gz
Slippy: Changes needed to boot EC without bricking.
This commits the hacks made during board bringup. Bugs can be filed and fixed based on this starting point. BUG=chrome-os-partner:18825 BRANCH=slippy TEST=manual Try it and see. Change-Id: Ia663eaf9a357633873b1b5d5cc6dbdda63513082 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50875 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'chip/lm4/flash.c')
-rw-r--r--chip/lm4/flash.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/chip/lm4/flash.c b/chip/lm4/flash.c
index 23e31a69f0..7fc59e1ecb 100644
--- a/chip/lm4/flash.c
+++ b/chip/lm4/flash.c
@@ -163,6 +163,10 @@ static int write_buffer(void)
{
int t;
+#ifdef BOARD_slippy /* FIXME: crosbug.com/p/19366 */
+ return EC_ERROR_UNKNOWN;
+#endif
+
if (all_protected)
return EC_ERROR_ACCESS_DENIED;
@@ -235,6 +239,9 @@ int flash_physical_write(int offset, int size, const char *data)
int flash_physical_erase(int offset, int size)
{
+#ifdef BOARD_slippy /* FIXME: crosbug.com/p/19366 */
+ return EC_ERROR_UNKNOWN;
+#endif
if (all_protected)
return EC_ERROR_ACCESS_DENIED;