[PATCH] kirkwood: dns325: Enable 2nd harddrive
Stefan Roese
sr at denx.de
Mon Oct 16 16:40:56 CEST 2023
On 8/12/23 05:54, Tony Dinh wrote:
> 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>
Applied to u-boot-marvell/master
Thanks,
Stefan
>> ---
>> 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
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list