forked from len0rd/rockbox
imx233/fuze+: add SD detection support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30196 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
85c32dbd12
commit
82f70b8efd
6 changed files with 164 additions and 27 deletions
|
@ -25,7 +25,6 @@
|
|||
#include "storage.h"
|
||||
#include "ssp-imx233.h"
|
||||
#include "pinctrl-imx233.h"
|
||||
#include "button-target.h"
|
||||
|
||||
/**
|
||||
* This code assumes a single eMMC internal flash
|
||||
|
@ -216,3 +215,9 @@ int mmc_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const v
|
|||
(void) buf;
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool mmc_present(IF_MD(int drive))
|
||||
{
|
||||
IF_MD((void) drive);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue