#ifndef _MXCMCI_MMC_H_
#define _MXCMCI_MMC_H_
-// ==========================================================================
-//
+// ==========================================================================
+//
// Module Name: mxcmci_mmc.h
//
// General Description: Limited Bootloader eSDHC Driver.
-//
-//
-// ==========================================================================
+//
+//
+// ==========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Date: 2008-05-13 Initial version
// Purpose:
// Description:
-//
+//
//
//####DESCRIPTIONEND####
//====================================================================================================
#define CARD_BUSY_BIT 0x80000000
#define CURR_STATE_SHIFT 9
#define MMC_SPEC_VER 0x003C0000
-#define MMC_SPEC_VER_SHIFT 18
+#define MMC_SPEC_VER_SHIFT 18
#define MMC_R1_SWITCH_ERROR_MASK 0x80
#define SWITCH_ERROR_SHIFT 7
#define BUS_SIZE_SHIFT 2
extern cyg_uint32 sd_voltage_validation (void);
extern cyg_uint32 sd_init(cyg_uint32);
extern cyg_uint32 card_flash_query(void* data);
+extern int sdmmc_set_blklen(int len);
-typedef struct
+typedef struct
{
cyg_uint32 csd0;
cyg_uint32 csd1;
cyg_uint32 csd2;
cyg_uint32 csd3;
-}card_specific_data;
+} card_specific_data;
#endif /* _MXCMCI_MMC_H_ */