Commit b3b3c176 authored by Bruno Randolf's avatar Bruno Randolf Committed by Ralf Baechle
Browse files

MIPS: MTX-1: cleanup and comments

Add some comments about mtx1_pci_idsel() and remove a dead block of old code.
Signed-off-by: default avatarBruno Randolf <>

Signed-off-by: default avatarRalf Baechle <>
parent f5c1ca77
......@@ -108,14 +108,10 @@ void __init board_setup(void)
mtx1_pci_idsel(unsigned int devsel, int assert)
#define MTX_IDSEL_ONLY_0_AND_3 0
if (devsel != 0 && devsel != 3) {
printk(KERN_ERR "*** not 0 or 3\n");
return 0;
/* This function is only necessary to support a proprietary Cardbus
* adapter on the mtx-1 "singleboard" variant. It triggers a custom
* logic chip connected to EXT_IO3 (GPIO1) to suppress IDSEL signals.
if (assert && devsel != 0)
/* Suppress signal to Cardbus */
alchemy_gpio_set_value(1, 0); /* set EXT_IO3 OFF */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment