mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
board: pm9g45: add missing gpio_request()
This fixes the following run time error message: set_dir_flags: error: gpio PIOD3 not reserved set_dir_flags: error: gpio PIOC14 not reserved Signed-off-by: Ilko Iliev <iliev@ronetix.at>
This commit is contained in:
parent
19b77d3d23
commit
c89982f089
1 changed files with 2 additions and 0 deletions
|
@ -67,10 +67,12 @@ static void pm9g45_nand_hw_init(void)
|
|||
|
||||
#ifdef CFG_SYS_NAND_READY_PIN
|
||||
/* Configure RDY/BSY */
|
||||
gpio_request(CFG_SYS_NAND_READY_PIN, "NAND RDY/BSY");
|
||||
gpio_direction_input(CFG_SYS_NAND_READY_PIN);
|
||||
#endif
|
||||
|
||||
/* Enable NandFlash */
|
||||
gpio_request(CFG_SYS_NAND_ENABLE_PIN, "NAND enable");
|
||||
gpio_direction_output(CFG_SYS_NAND_ENABLE_PIN, 1);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue