|
@@ -67,8 +67,6 @@ static void mtx1_power_off(void)
|
|
|
|
|
|
void __init board_setup(void)
|
|
|
{
|
|
|
- alchemy_gpio2_enable();
|
|
|
-
|
|
|
#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
|
|
|
/* Enable USB power switch */
|
|
|
alchemy_gpio_direction_output(204, 0);
|
|
@@ -117,11 +115,11 @@ mtx1_pci_idsel(unsigned int devsel, int assert)
|
|
|
|
|
|
if (assert && devsel != 0)
|
|
|
/* Suppress signal to Cardbus */
|
|
|
- gpio_set_value(1, 0); /* set EXT_IO3 OFF */
|
|
|
+ alchemy_gpio_set_value(1, 0); /* set EXT_IO3 OFF */
|
|
|
else
|
|
|
- gpio_set_value(1, 1); /* set EXT_IO3 ON */
|
|
|
+ alchemy_gpio_set_value(1, 1); /* set EXT_IO3 ON */
|
|
|
|
|
|
- au_sync_udelay(1);
|
|
|
+ udelay(1);
|
|
|
return 1;
|
|
|
}
|
|
|
|