[PATCH] kirkwood: dns325: Enable 2nd harddrive
Tony Dinh
mibodhi at gmail.com
Sat Aug 12 05:54:02 CEST 2023
On Fri, Aug 11, 2023 at 3:02 PM Stefan Roese <sr at denx.de> wrote:
>
> 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
>
Reviewed-by: Tony Dinh <mibodhi at gmail.com>
All the best,
Tony
More information about the U-Boot
mailing list