From 2612d371db45413f2536e898dfb66e19d7623598 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 13 Feb 2006 22:49:59 +0000 Subject: More correct power handling of the HDD and ISD300 chips on the H300 platform git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8688 a1c6a512-1295-4272-9138-f99709370657 --- firmware/usb.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'firmware/usb.c') diff --git a/firmware/usb.c b/firmware/usb.c index 1c90d63519..d6a154c51b 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -151,8 +151,6 @@ void usb_enable(bool on) /* Power on the Cypress chip */ #ifdef IRIVER_H100_SERIES or_l(0x01000040, &GPIO_OUT); -#else - and_l(~0x00000008,&GPIO1_OUT); #endif sleep(2); } @@ -161,8 +159,6 @@ void usb_enable(bool on) /* Power off the Cypress chip */ #ifdef IRIVER_H100_SERIES and_l(~0x01000040, &GPIO_OUT); -#else - or_l(0x00000008,&GPIO1_OUT); #endif } @@ -483,11 +479,6 @@ void usb_init(void) or_l(0x00000080, &GPIO1_FUNCTION); /* GPIO39 is the USB detect input */ #ifdef IRIVER_H300_SERIES - /* ISD300 3.3V ON */ - or_l(8,&GPIO1_FUNCTION); - or_l(8,&GPIO1_OUT); - or_l(8,&GPIO1_ENABLE); - /* Tristate the SCK/SDA to the ISD300 config EEPROM */ and_l(~0x03000000, &GPIO_ENABLE); or_l(0x03000000, &GPIO_FUNCTION); -- cgit v1.2.3