mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-29 17:51:26 +02:00
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>
This commit is contained in:
parent
3c3f162691
commit
fec5462647
@ -89,6 +89,7 @@ int board_early_init_f(void)
|
|||||||
kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1);
|
kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1);
|
||||||
|
|
||||||
kw_gpio_set_value(DNS325_GPIO_SATA0_EN , 1);
|
kw_gpio_set_value(DNS325_GPIO_SATA0_EN , 1);
|
||||||
|
kw_gpio_set_value(DNS325_GPIO_SATA1_EN , 1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user