km: qrio: add function to read PGY_PRES pin status
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Tue, 16 Nov 2021 12:50:54 +0000 (12:50 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 1 Feb 2022 09:34:24 +0000 (15:04 +0530)
commit639ca4b7f121b50a88516717313fdff507b82cba
tree957728ecc4c58cc039a040cc63a328018f8f1671
parent8af140d8fd9e0a8bf4c37cdb4b5d74298c9b4a8d
km: qrio: add function to read PGY_PRES pin status

It is necessary to read the status of the PGY_PRES pin
so that u-boot can react accordingly.

Signed-off-by: Rainer Boschung <rainer.boschung@hitachienergy.com>
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/keymile/common/qrio.c
board/keymile/common/qrio.h