aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2023-08-11 10:02:04 +0200
committerStefan Roese <sr@denx.de>2023-10-16 11:10:32 +0200
commitfec546264797022be2d70c441bd2d07fe9045056 (patch)
tree1eb3a7fac3d990422ca1f034fb0a1bc5a2eee297
parent3c3f1626919cd93cbe6c56e3849937de5be18dbb (diff)
downloadu-boot-fec546264797022be2d70c441bd2d07fe9045056.zip
u-boot-fec546264797022be2d70c441bd2d07fe9045056.tar.gz
u-boot-fec546264797022be2d70c441bd2d07fe9045056.tar.bz2
kirkwood: dns325: Enable 2nd harddrive
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@denx.de> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tony Dinh <mibodhi@gmail.com>
-rw-r--r--board/d-link/dns325/dns325.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/d-link/dns325/dns325.c b/board/d-link/dns325/dns325.c
index 055783f..8ebfe4c 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;
}