mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Merge tag 'u-boot-at91-fixes-2023.07-a' of https://source.denx.de/u-boot/custodians/u-boot-at91
First set of u-boot-atmel fixes for the 2023.07 cycle: This small fixes set includes one init fix for scmi clocks and a missing gpio_request for pm9g45.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
int arch_cpu_init(void)
|
||||
{
|
||||
#if defined(CONFIG_CLK_CCF)
|
||||
#if defined(CONFIG_CLK_CCF) || defined(CONFIG_CLK_SCMI)
|
||||
return 0;
|
||||
#else
|
||||
return at91_clock_init(CFG_SYS_AT91_MAIN_CLOCK);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user