trats2: add implementation of board_poweroff() and CONFIG_CMD_POWEROFF
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 21 Mar 2014 10:48:54 +0000 (11:48 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 5 Apr 2017 09:57:03 +0000 (18:57 +0900)
commit875d7363dda9f61ba49b3d35e937c3ed5fbae362
tree88c504afcde1f6d88a7de07a8e24db20d375ba3f
parent5111f88914c6aaf7f2232035dbf0ff7de9913c27
trats2: add implementation of board_poweroff() and CONFIG_CMD_POWEROFF

This change adds implementation of function board_poweroff() which
turns off the device off by setting PSHOLD gpio to low state which
is a power off signal for main PMIC.

Change-Id: Iae97fb81d7e7e243079ac18d03f4fd917c50b62e
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/trats2/trats2.c