diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-26 07:54:25 +0200 |
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-26 07:54:25 +0200 |
| commit | 4c25761337570e63e9e2631a81de221e692251e3 (patch) | |
| tree | f288433990a6bec1c42261690ac573d0316f3d48 /include/atmel_mci.h | |
| parent | c68436fa427a69ea308d74c410067507d6c7103b (diff) | |
| parent | 9924ca6e9b1933b8ea2bb0ca49fe67df9856ccc5 (diff) | |
| download | olio-uboot-2014.01-4c25761337570e63e9e2631a81de221e692251e3.tar.xz olio-uboot-2014.01-4c25761337570e63e9e2631a81de221e692251e3.zip | |
Merge remote-tracking branch 'u-boot-atmel/master'
Diffstat (limited to 'include/atmel_mci.h')
| -rw-r--r-- | include/atmel_mci.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/atmel_mci.h b/include/atmel_mci.h index 3dd5d67be..c71188127 100644 --- a/include/atmel_mci.h +++ b/include/atmel_mci.h @@ -38,7 +38,7 @@ typedef struct atmel_mci { u32 sdcr; /* 0x0c */ u32 argr; /* 0x10 */ u32 cmdr; /* 0x14 */ - u32 _18; /* 0x18 */ + u32 blkr; /* 0x18 */ u32 _1c; /* 0x1c */ u32 rspr; /* 0x20 */ u32 rspr1; /* 0x24 */ @@ -118,6 +118,11 @@ typedef struct atmel_mci { #define MMCI_TRTYP_OFFSET 19 #define MMCI_TRTYP_SIZE 2 +/* Bitfields in BLKR */ +/* MMCI_BLKLEN_OFFSET/SIZE already defined in MR */ +#define MMCI_BCNT_OFFSET 0 +#define MMCI_BCNT_SIZE 16 + /* Bitfields in RSPRx */ #define MMCI_RSP_OFFSET 0 #define MMCI_RSP_SIZE 32 |