2 * Copyright (C) 2004-2006 Atmel Corporation
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 #ifndef __ASM_AVR32_MMC_H
23 #define __ASM_AVR32_MMC_H
44 u64 read_bl_partial:1,
74 /* MMC Command numbers */
75 #define MMC_CMD_GO_IDLE_STATE 0
76 #define MMC_CMD_SEND_OP_COND 1
77 #define MMC_CMD_ALL_SEND_CID 2
78 #define MMC_CMD_SET_RELATIVE_ADDR 3
79 #define MMC_CMD_SD_SEND_RELATIVE_ADDR 3
80 #define MMC_CMD_SET_DSR 4
81 #define MMC_CMD_SELECT_CARD 7
82 #define MMC_CMD_SEND_CSD 9
83 #define MMC_CMD_SEND_CID 10
84 #define MMC_CMD_SEND_STATUS 13
85 #define MMC_CMD_SET_BLOCKLEN 16
86 #define MMC_CMD_READ_SINGLE_BLOCK 17
87 #define MMC_CMD_READ_MULTIPLE_BLOCK 18
88 #define MMC_CMD_WRITE_BLOCK 24
89 #define MMC_CMD_APP_CMD 55
91 #define MMC_ACMD_SD_SEND_OP_COND 41
93 #define R1_ILLEGAL_COMMAND (1 << 22)
94 #define R1_APP_CMD (1 << 5)
96 #endif /* __ASM_AVR32_MMC_H */