diff options
-rw-r--r-- | chip/lm4/flash.c | 7 | ||||
-rw-r--r-- | chip/lm4/system.c | 2 |
2 files changed, 0 insertions, 9 deletions
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; diff --git a/chip/lm4/system.c b/chip/lm4/system.c index 5a13725305..3f0e990e16 100644 --- a/chip/lm4/system.c +++ b/chip/lm4/system.c @@ -295,7 +295,6 @@ void system_hibernate(uint32_t seconds, uint32_t microseconds) void system_pre_init(void) { -#ifdef BOARD_link /* FIXME: crosbug.com/p/19366 */ volatile uint32_t scratch __attribute__((unused)); /* Enable clocks to the hibernation module */ @@ -339,7 +338,6 @@ void system_pre_init(void) LM4_HIBERNATE_HIBRTCT = 0x7fff; wait_for_hibctl_wc(); LM4_HIBERNATE_HIBIM = 0; -#endif check_reset_cause(); |