mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
- Rockchip, i.MX and xenon_sdhci updates
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#define VENDORSPEC_HCKEN 0x00001000
|
||||
#define VENDORSPEC_IPGEN 0x00000800
|
||||
#define VENDORSPEC_INIT 0x20007809
|
||||
#define VENDORSPEC_FRC_SDCLK_ON 0x00000100
|
||||
|
||||
#define IRQSTAT 0x0002e030
|
||||
#define IRQSTAT_DMAE (0x10000000)
|
||||
@@ -94,6 +95,7 @@
|
||||
#define PRSSTAT_CINS (0x00010000)
|
||||
#define PRSSTAT_BREN (0x00000800)
|
||||
#define PRSSTAT_BWEN (0x00000400)
|
||||
#define PRSSTAT_SDOFF (0x00000080)
|
||||
#define PRSSTAT_SDSTB (0X00000008)
|
||||
#define PRSSTAT_DLA (0x00000004)
|
||||
#define PRSSTAT_CICHB (0x00000002)
|
||||
|
||||
@@ -272,6 +272,18 @@ struct sdhci_ops {
|
||||
int (*platform_execute_tuning)(struct mmc *host, u8 opcode);
|
||||
int (*set_delay)(struct sdhci_host *host);
|
||||
int (*deferred_probe)(struct sdhci_host *host);
|
||||
|
||||
/**
|
||||
* set_enhanced_strobe() - Set HS400 Enhanced Strobe config
|
||||
*
|
||||
* This is called after setting the card speed and mode to
|
||||
* HS400 ES, and should set any host-specific configuration
|
||||
* necessary for it.
|
||||
*
|
||||
* @host: SDHCI host structure
|
||||
* Return: 0 if successful, -ve on error
|
||||
*/
|
||||
int (*set_enhanced_strobe)(struct sdhci_host *host);
|
||||
};
|
||||
|
||||
#define ADMA_MAX_LEN 65532
|
||||
|
||||
Reference in New Issue
Block a user