Fix: read the correct registers for player HD spindown
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5447 a1c6a512-1295-4272-9138-f99709370657
diff --git a/flash/uart_boot/uart_boot.c b/flash/uart_boot/uart_boot.c
index f2047d8..40c3682 100644
--- a/flash/uart_boot/uart_boot.c
+++ b/flash/uart_boot/uart_boot.c
@@ -246,11 +246,11 @@
}
else
{ // new Players have disk power control on PB4
- reg = ReadHalfword(serial_handle, 0x05FFFFC4); // PBIOR
+ reg = ReadHalfword(serial_handle, 0x05FFFFC6); // PBIOR
reg |= 0x0010; // set bit 4: output
WriteHalfword(serial_handle, 0x05FFFFC6, reg);
- reg = ReadHalfword(serial_handle, 0x05FFFFC0); // PBDR
+ reg = ReadHalfword(serial_handle, 0x05FFFFC2); // PBDR
reg &= ~0x0010; // clear PB4 to power down
WriteHalfword(serial_handle, 0x05FFFFC2, reg);
}