diff options
author | Mary Ruthven <mruthven@chromium.org> | 2019-03-27 18:04:18 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-05 03:53:06 -0700 |
commit | 907ccfb38f9d3d08a9888a0b44c0c3a28f1dc381 (patch) | |
tree | 293684b78b171d53068a6b71fef644a655498da7 /board | |
parent | 9d09e1f04007c3fef98d35e5514fcaa2fea237ce (diff) | |
download | chrome-ec-907ccfb38f9d3d08a9888a0b44c0c3a28f1dc381.tar.gz |
cr50: make is_sys_rst_asserted static
BUG=none
BRANCH=cr50
TEST=make buildall -j
Change-Id: Ic95e75cbfaa15103d83c78dcb9efd5b985f2f190
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1542799
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cr50/board.c | 2 | ||||
-rw-r--r-- | board/cr50/board.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c index d19d021787..5db1e70cf4 100644 --- a/board/cr50/board.c +++ b/board/cr50/board.c @@ -944,7 +944,7 @@ void deassert_sys_rst(void) gpio_set_level(GPIO_SYS_RST_L_OUT, 1); } -int is_sys_rst_asserted(void) +static int is_sys_rst_asserted(void) { /* * SYS_RST_L is pseudo open drain. It is only an output when it's diff --git a/board/cr50/board.h b/board/cr50/board.h index 272ec813ff..2fa9bf3f47 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -260,7 +260,6 @@ void post_reboot_request(void); /* Special controls over EC and AP */ void assert_sys_rst(void); void deassert_sys_rst(void); -int is_sys_rst_asserted(void); void assert_ec_rst(void); void deassert_ec_rst(void); int is_ec_rst_asserted(void); |