summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-01-31 22:09:11 +0000
committerwdenk <wdenk>2005-01-31 22:09:11 +0000
commit436be29cad60a46ed5983120aff71909d8f234a3 (patch)
treebbe41af218ae37d29afcc6db7dcbf526c3ab4a60 /drivers
parentcd172b710822fe170db04fa1e78c08adea56425a (diff)
downloadbootable_bootloader_goldelico_gta04-436be29cad60a46ed5983120aff71909d8f234a3.zip
bootable_bootloader_goldelico_gta04-436be29cad60a46ed5983120aff71909d8f234a3.tar.gz
bootable_bootloader_goldelico_gta04-436be29cad60a46ed5983120aff71909d8f234a3.tar.bz2
* Update CPC45 board configuration.
* Add USB and PCI support for INKA4x0 board
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i82365.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/i82365.c b/drivers/i82365.c
index c37383d..e20fd33 100644
--- a/drivers/i82365.c
+++ b/drivers/i82365.c
@@ -479,7 +479,6 @@ static int cb_set_power (socket_info_t * s, socket_state_t * state)
puts (" 12V card found: ");
} else if (state->Vpp == state->Vcc) {
reg |= I365_VPP1_5V;
- puts (" 5V card found: ");
} else {
puts (" power not found: ");
return -1;
@@ -870,6 +869,10 @@ int i82365_init (void)
printf ("i82365: Controller not found.\n");
return 1;
}
+ if((val & SS_DETECT) != SS_DETECT){
+ puts ("No card\n");
+ return 1;
+ }
#else /* !CONFIG_CPC45 */
if (val & SS_DETECT) {
if (val & SS_3VCARD) {