mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
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>
This commit is contained in:
committed by
chrome-bot
parent
6834e2bfaf
commit
b9f5caf932
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user