summaryrefslogtreecommitdiffstats
path: root/board/sunxi/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/sunxi/ahci.c')
-rw-r--r--board/sunxi/ahci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/sunxi/ahci.c b/board/sunxi/ahci.c
index 0c262eabb7..5e123285b0 100644
--- a/board/sunxi/ahci.c
+++ b/board/sunxi/ahci.c
@@ -74,6 +74,7 @@ void scsi_init(void)
{
printf("SUNXI SCSI INIT\n");
#ifdef CONFIG_SATAPWR
+ gpio_request(CONFIG_SATAPWR, "satapwr");
gpio_direction_output(CONFIG_SATAPWR, 1);
#endif
OpenPOWER on IntegriCloud