xref: /rk3399_rockchip-uboot/include/mmc.h (revision 71f9511803de65a3b98d2f592d418da1d1539f13)
1*71f95118Swdenk /*
2*71f95118Swdenk  * (C) Copyright 2000-2003
3*71f95118Swdenk  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*71f95118Swdenk  *
5*71f95118Swdenk  * See file CREDITS for list of people who contributed to this
6*71f95118Swdenk  * project.
7*71f95118Swdenk  *
8*71f95118Swdenk  * This program is free software; you can redistribute it and/or
9*71f95118Swdenk  * modify it under the terms of the GNU General Public License as
10*71f95118Swdenk  * published by the Free Software Foundation; either version 2 of
11*71f95118Swdenk  * the License, or (at your option) any later version.
12*71f95118Swdenk  *
13*71f95118Swdenk  * This program is distributed in the hope that it will be useful,
14*71f95118Swdenk  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15*71f95118Swdenk  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*71f95118Swdenk  * GNU General Public License for more details.
17*71f95118Swdenk  *
18*71f95118Swdenk  * You should have received a copy of the GNU General Public License
19*71f95118Swdenk  * along with this program; if not, write to the Free Software
20*71f95118Swdenk  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*71f95118Swdenk  * MA 02111-1307 USA
22*71f95118Swdenk  */
23*71f95118Swdenk 
24*71f95118Swdenk #ifndef _MMC_H_
25*71f95118Swdenk #define _MMC_H_
26*71f95118Swdenk #include <asm/arch/mmc.h>
27*71f95118Swdenk 
28*71f95118Swdenk int mmc_init(int verbose);
29*71f95118Swdenk int mmc_read(ulong src, uchar *dst, int size);
30*71f95118Swdenk int mmc_write(uchar *src, ulong dst, int size);
31*71f95118Swdenk int mmc2info(ulong addr);
32*71f95118Swdenk 
33*71f95118Swdenk #endif /* _MMC_H_ */
34