mirror of
https://github.com/fail0verflow/mini.git
synced 2024-09-29 18:38:56 +02:00
34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
|
/*
|
||
|
mini - a Free Software replacement for the Nintendo/BroadOn IOS.
|
||
|
|
||
|
SD/MMC interface
|
||
|
|
||
|
Copyright (C) 2008, 2009 Sven Peter <svenpeter@gmail.com>
|
||
|
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation, version 2.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||
|
|
||
|
*/
|
||
|
#ifndef __SDMMC_H__
|
||
|
#define __SDMMC_H__ 1
|
||
|
|
||
|
#include "sdmmcvar.h"
|
||
|
#include "sdmmcchip.h"
|
||
|
|
||
|
#define SDMMC_DEFAULT_CLOCK 25000
|
||
|
|
||
|
struct device *sdmmc_attach(struct sdmmc_chip_functions *functions,
|
||
|
sdmmc_chipset_handle_t handle, const char *name, int no);
|
||
|
void sdmmc_needs_discover(struct device *dev);
|
||
|
#endif
|