mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
7c49bd50ed
commit
8af140d8fd
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue