AES鍵設定のタイミング変更、TS_VERSION>200のときはPM_InitFIRMを呼ばないようにした(何もしていないので)

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1004 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yutaka 2008-03-31 04:06:26 +00:00
parent d42a9c8bcb
commit dfc42c52dd
3 changed files with 20 additions and 18 deletions

View File

@ -143,8 +143,10 @@ static void PreInit(void)
***************************************************************/
static void PostInit(void)
{
#if SDK_TS_VERSION <= 200
// PMICの設定 for old version
PM_InitFIRM();
#endif
// AESの初期化
AES_Init(); // for encrypted NAND
// マウント情報の初期化

View File

@ -122,15 +122,6 @@ static void PreInit(void)
{
OS_Terminate();
}
/*
AES関連 (NAND暗号化の鍵変更を含む)
*/
#ifndef SDK_FINALROM
if ( !*(u8*)HW_TWL_RED_LAUNCHER_VER )
#endif
{
AESi_PreInitKeys();
}
/*
(1)(1)
*/
@ -152,8 +143,17 @@ static void PreInit(void)
***************************************************************/
static void PostInit(void)
{
#if SDK_TS_VERSION <= 200
// PMICの設定 for old version
PM_InitFIRM();
#endif
/*
AES関連 (NAND暗号化の鍵変更を含む)
*/
if ( !*(u8*)HW_TWL_RED_LAUNCHER_VER )
{
AESi_PreInitKeys();
}
// AESの初期化
AES_Init(); // for encrypted NAND
// マウント情報の初期化

View File

@ -122,15 +122,6 @@ static void PreInit(void)
{
OS_Terminate();
}
/*
AES関連 (NAND暗号化の鍵変更を含む)
*/
#ifndef SDK_FINALROM
if ( !*(u8*)HW_TWL_RED_LAUNCHER_VER )
#endif
{
AESi_PreInitKeys();
}
/*
(1)(1)
*/
@ -152,8 +143,17 @@ static void PreInit(void)
***************************************************************/
static void PostInit(void)
{
#if SDK_TS_VERSION <= 200
// PMICの設定 for old version
PM_InitFIRM();
#endif
/*
AES関連 (NAND暗号化の鍵変更を含む)
*/
if ( !*(u8*)HW_TWL_RED_LAUNCHER_VER )
{
AESi_PreInitKeys();
}
// AESの初期化
AES_Init(); // for encrypted NAND
// マウント情報の初期化