diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-11-21 22:56:20 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-22 14:42:33 -0800 |
commit | b9f5caf932ede21b58e33ecc096f28eb29b48a78 (patch) | |
tree | 1de837d931f4c54e18bb47e621f8de82cc5b9a96 /board/nautilus | |
parent | 6834e2bfaff706729ee32be7dc2f3eeb057019ef (diff) | |
download | chrome-ec-b9f5caf932ede21b58e33ecc096f28eb29b48a78.tar.gz |
nautilus: Get rid of board_has_working_reset_flags
board_has_working_reset_flags was added to poppy/soraka to work around
a hardware issue in early revisions where reset flags would be lost on
PMIC reset. This issue should not occur for nautilus. Hence, get rid
of the function.
BUG=None
BRANCH=None
TEST=make -j buildall
Change-Id: Ib281c17e476bbf52dce055718c7faf61eb6ff507
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/784773
Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board/nautilus')
-rw-r--r-- | board/nautilus/board.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/nautilus/board.c b/board/nautilus/board.c index b40ad93df6..787b6ba1bc 100644 --- a/board/nautilus/board.c +++ b/board/nautilus/board.c @@ -704,15 +704,3 @@ static void board_chipset_shutdown(void) gpio_set_level(GPIO_ENABLE_TOUCHPAD, 0); } DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, board_chipset_shutdown, HOOK_PRIO_DEFAULT); - -int board_has_working_reset_flags(void) -{ - int version = system_get_board_version(); - - /* Boards Rev1 and Rev2 will lose reset flags on power cycle. */ - if ((version == 1) || (version == 2)) - return 0; - - /* All other board versions should have working reset flags */ - return 1; -} |