[PATCH] kirkwood: dns325: Enable 2nd harddrive

Stefan Roese sr at denx.de
Fri Aug 11 10:02:04 CEST 2023


The 2nd HD is not enabled in U-Boot on the D-Link DNS325. This patch
sets the responsible GPIO to high, enabling the drive.

Suggested-by: Peter Granilla
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Tom Rini <trini at konsulko.com>
---
 board/d-link/dns325/dns325.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/d-link/dns325/dns325.c b/board/d-link/dns325/dns325.c
index 055783f63ada..8ebfe4c60189 100644
--- a/board/d-link/dns325/dns325.c
+++ b/board/d-link/dns325/dns325.c
@@ -89,6 +89,7 @@ int board_early_init_f(void)
 	kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1);
 
 	kw_gpio_set_value(DNS325_GPIO_SATA0_EN , 1);
+	kw_gpio_set_value(DNS325_GPIO_SATA1_EN , 1);
 	return 0;
 }
 
-- 
2.41.0



More information about the U-Boot mailing list