enable TS for SX8 Basic

This commit is contained in:
none 2019-11-14 11:50:27 +01:00
parent 2886f9daef
commit 5a536040b5
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ static int mci_reset(struct mci *state)
} }
if ((status & MCI_CONTROL_READY) == 0 ) if ((status & MCI_CONTROL_READY) == 0 )
return -1; return -1;
if (link->ids.device == 0x0009) if (link->ids.device == 0x0009 || link->ids.device == 0x000a)
ddblwritel(link, SX8_TSCONFIG_MODE_NORMAL, SX8_TSCONFIG); ddblwritel(link, SX8_TSCONFIG_MODE_NORMAL, SX8_TSCONFIG);
return 0; return 0;
} }
@ -57,7 +57,7 @@ int ddb_mci_config(struct mci *state, u32 config)
{ {
struct ddb_link *link = state->base->link; struct ddb_link *link = state->base->link;
if (link->ids.device != 0x0009) if (link->ids.device != 0x0009 && link->ids.device != 0x000a)
return -EINVAL; return -EINVAL;
ddblwritel(link, config, SX8_TSCONFIG); ddblwritel(link, config, SX8_TSCONFIG);
return 0; return 0;