diff options
-rw-r--r-- | bootloader/main.c | 2 | ||||
-rw-r--r-- | firmware/drivers/power.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bootloader/main.c b/bootloader/main.c index 5a1e79735b..72b7e0bc52 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -188,7 +188,7 @@ void main(void) lcd_setfont(FONT_SYSFIXED); - snprintf(buf, 256, "Rockboot version 1"); + snprintf(buf, 256, "Rockboot version 2"); lcd_puts(0, line++, buf); sleep(HZ/50); /* Allow the button driver to check the buttons */ diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 66e479e1ce..57b82844bb 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c @@ -67,7 +67,9 @@ void power_init(void) GPIO1_OUT |= 0x00080000; GPIO1_ENABLE |= 0x00080000; GPIO1_FUNCTION |= 0x00080000; - + + /* Hard drive power, default = off */ + GPIO_OUT |= 0x80000000; GPIO_ENABLE |= 0x80000000; GPIO_FUNCTION |= 0x80000000; #ifdef HAVE_SPDIF_POWER |