]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kirkwood: dns325: Enable 2nd harddrive
authorStefan Roese <sr@denx.de>
Fri, 11 Aug 2023 08:02:04 +0000 (10:02 +0200)
committerStefan Roese <sr@denx.de>
Mon, 16 Oct 2023 09:10:32 +0000 (11:10 +0200)
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>
board/d-link/dns325/dns325.c

index 055783f63adab3419e26a179da08739d66da6d9f..8ebfe4c601890307df5cbebd3a9da16a95d5c8ea 100644 (file)
@@ -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;
 }