aboutsummaryrefslogtreecommitdiff
path: root/board/ronetix
diff options
context:
space:
mode:
authorIlko Iliev2023-06-13 17:09:58 +0200
committerEugen Hristev2023-06-16 12:02:02 +0300
commitc89982f0895efb4ac4803f69a9ca8de4b9d67101 (patch)
treebfe5bce5f3454d7d97b2e419a15758034e8d2852 /board/ronetix
parent19b77d3d23966a0d6dbb3c86187765f11100fb6f (diff)
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>
Diffstat (limited to 'board/ronetix')
-rw-r--r--board/ronetix/pm9g45/pm9g45.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c
index c56582a1948..aa5c80ac641 100644
--- a/board/ronetix/pm9g45/pm9g45.c
+++ b/board/ronetix/pm9g45/pm9g45.c
@@ -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