diff options
author | Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com> | 2021-11-16 15:49:46 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2022-02-01 12:34:24 +0300 |
commit | 8af140d8fd9e0a8bf4c37cdb4b5d74298c9b4a8d (patch) | |
tree | e8b622115c704fe8a601d0d5617ecf7beeaf1279 /board/keymile | |
parent | 7c49bd50ed16644f46cac5ea711890efe49e2984 (diff) | |
download | u-boot-8af140d8fd9e0a8bf4c37cdb4b5d74298c9b4a8d.tar.xz |
km/ls102xa: use qrio selftest_pin for reading selftest
QRIO library now supports direct read of the test pin status.
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/keymile')
-rw-r--r-- | board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c index db49e8ff22..2be2b64df5 100644 --- a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c +++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c @@ -150,9 +150,8 @@ int ft_board_setup(void *blob, struct bd_info *bd) #if defined(CONFIG_POST) int post_hotkeys_pressed(void) { - /* DIC26_SELFTEST: GPRTA0, GPA0 */ - qrio_gpio_direction_input(QRIO_GPIO_A, 0); - return qrio_get_gpio(QRIO_GPIO_A, 0); + /* DIC26_SELFTEST: QRIO, SLFTEST */ + return qrio_get_selftest_pin(); } ulong post_word_load(void) |