mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
FATFSi_sdmc*Fifo()の仕様変更に対応
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1659 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
6914f203d4
commit
ba41e97548
@ -161,7 +161,6 @@ void TwlSpMain( void )
|
||||
goto err;
|
||||
}
|
||||
FATFSi_sdmcGoIdle( 2, NULL, NULL );
|
||||
FATFSi_sdmcSelect( SDMC_PORT_NAND );
|
||||
SetDebugLED(++step); // 0x05
|
||||
|
||||
// CARD<52>‰Šú‰»
|
||||
@ -197,7 +196,7 @@ void TwlSpMain( void )
|
||||
SetDebugLED(++step); // 0x0a
|
||||
|
||||
// write NAND
|
||||
if ( FATFSi_sdmcWriteFifo( nand, sectors, 1, NULL, &sdResult ) )
|
||||
if ( FATFSi_sdmcWriteFifo( nand, sectors, 1, SDMC_PORT_NAND, &sdResult ) )
|
||||
{
|
||||
OS_TPrintf("Failed to call FATFSi_sdmcWriteFifo() to write header.\n");
|
||||
goto err;
|
||||
@ -216,7 +215,7 @@ void TwlSpMain( void )
|
||||
SetDebugLED(++step); // 0x0c
|
||||
|
||||
// verify NAND
|
||||
if ( FATFSi_sdmcReadFifo( nand2, sectors, 1, NULL, &sdResult ) )
|
||||
if ( FATFSi_sdmcReadFifo( nand2, sectors, 1, SDMC_PORT_NAND, &sdResult ) )
|
||||
{
|
||||
OS_TPrintf("Failed to call FATFSi_sdmcReadFifo() to write header.\n");
|
||||
goto err;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user