mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
FromFirmからNANDコンテキスト削除
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@965 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
44f4b81bdf
commit
44bc866851
@ -65,8 +65,6 @@ static char* debugPtr = (char*)PRINT_MEMORY_ADDR;
|
|||||||
#define DMA_FATFS_1 0
|
#define DMA_FATFS_1 0
|
||||||
#define DMA_FATFS_2 1
|
#define DMA_FATFS_2 1
|
||||||
|
|
||||||
extern void* SDNandContext; /* NAND初期化パラメータ */
|
|
||||||
|
|
||||||
static ROM_Header* const rh= (ROM_Header*)HW_TWL_ROM_HEADER_BUF;
|
static ROM_Header* const rh= (ROM_Header*)HW_TWL_ROM_HEADER_BUF;
|
||||||
|
|
||||||
static OSThread idleThread;
|
static OSThread idleThread;
|
||||||
@ -218,7 +216,6 @@ void TwlSpMain( void )
|
|||||||
PUSH_PROFILE();
|
PUSH_PROFILE();
|
||||||
SetDebugLED(++step); // 0x84
|
SetDebugLED(++step); // 0x84
|
||||||
|
|
||||||
SDNandContext = &OSi_GetFromFirmAddr()->SDNandContext;
|
|
||||||
if ( !FATFS_Init( DMA_FATFS_1, DMA_FATFS_2, THREAD_PRIO_FATFS ) )
|
if ( !FATFS_Init( DMA_FATFS_1, DMA_FATFS_2, THREAD_PRIO_FATFS ) )
|
||||||
{
|
{
|
||||||
OS_TPrintf("Failed to call FATFS_Init().\n");
|
OS_TPrintf("Failed to call FATFS_Init().\n");
|
||||||
|
|||||||
@ -65,8 +65,6 @@ static char* debugPtr = (char*)PRINT_MEMORY_ADDR;
|
|||||||
#define DMA_FATFS_1 0
|
#define DMA_FATFS_1 0
|
||||||
#define DMA_FATFS_2 1
|
#define DMA_FATFS_2 1
|
||||||
|
|
||||||
extern void* SDNandContext; /* NAND初期化パラメータ */
|
|
||||||
|
|
||||||
static ROM_Header* const rh= (ROM_Header*)HW_TWL_ROM_HEADER_BUF;
|
static ROM_Header* const rh= (ROM_Header*)HW_TWL_ROM_HEADER_BUF;
|
||||||
|
|
||||||
static OSThread idleThread;
|
static OSThread idleThread;
|
||||||
@ -218,7 +216,6 @@ void TwlSpMain( void )
|
|||||||
PUSH_PROFILE();
|
PUSH_PROFILE();
|
||||||
SetDebugLED(++step); // 0x84
|
SetDebugLED(++step); // 0x84
|
||||||
|
|
||||||
SDNandContext = &OSi_GetFromFirmAddr()->SDNandContext;
|
|
||||||
if ( !FATFS_Init( DMA_FATFS_1, DMA_FATFS_2, THREAD_PRIO_FATFS ) )
|
if ( !FATFS_Init( DMA_FATFS_1, DMA_FATFS_2, THREAD_PRIO_FATFS ) )
|
||||||
{
|
{
|
||||||
OS_TPrintf("Failed to call FATFS_Init().\n");
|
OS_TPrintf("Failed to call FATFS_Init().\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user