From f8e12df9dfb8d028cee1e9a039c4cbcebc608385 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 28 May 2013 11:18:36 -0700 Subject: slippy/falco: Add back in flash and hiberantion setup code These were tested to make sure they are not responsible for bricking boards. The flash code is necessary for software sync, and it is essential to be able to update boards without servo. The hibernate setup code was breaking jumping between images and the passing of data between the images -- needed for SW SYNC but also needed for things like "reboot ap-off". BUG=chrome-os-partner:19366 BRANCH=none TEST=manual: emerge-slippy chromeos-ec, flash+boot, update again via SW Sync Change-Id: Ib1363b353f18b21e0cad3209783e1e0b4ff24e86 Signed-off-by: Duncan Laurie Reviewed-on: https://gerrit.chromium.org/gerrit/56820 --- chip/lm4/flash.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'chip/lm4/flash.c') diff --git a/chip/lm4/flash.c b/chip/lm4/flash.c index e7b4064665..c7781c88f1 100644 --- a/chip/lm4/flash.c +++ b/chip/lm4/flash.c @@ -51,10 +51,6 @@ static int write_buffer(void) { int t; -#ifndef BOARD_link /* FIXME: crosbug.com/p/19366 */ - return EC_ERROR_UNKNOWN; -#endif - if (all_protected) return EC_ERROR_ACCESS_DENIED; @@ -127,9 +123,6 @@ int flash_physical_write(int offset, int size, const char *data) int flash_physical_erase(int offset, int size) { -#ifndef BOARD_link /* FIXME: crosbug.com/p/19366 */ - return EC_ERROR_UNKNOWN; -#endif if (all_protected) return EC_ERROR_ACCESS_DENIED; -- cgit v1.2.1