mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
FROM_FIRM用ヘッダ追加
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@619 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
2fee30508d
commit
b0077d06b0
@ -36,6 +36,7 @@
|
|||||||
#include <twl/mcu.h>
|
#include <twl/mcu.h>
|
||||||
#include <twl/hw/common/mmap_wramEnv.h>
|
#include <twl/hw/common/mmap_wramEnv.h>
|
||||||
#include <sysmenu.h>
|
#include <sysmenu.h>
|
||||||
|
#include <firm/hw/ARM7/mmap_firm.h>
|
||||||
#include "nvram_sp.h"
|
#include "nvram_sp.h"
|
||||||
#include "pm_pmic.h"
|
#include "pm_pmic.h"
|
||||||
#include "internal_api.h"
|
#include "internal_api.h"
|
||||||
@ -120,8 +121,8 @@ TwlSpMain(void)
|
|||||||
OS_InitTick();
|
OS_InitTick();
|
||||||
PrintDebugInfo();
|
PrintDebugInfo();
|
||||||
|
|
||||||
// PXIコールバックの設定
|
// PXIコールバックの設定
|
||||||
// PXI_SetFifoRecvCallback( SYSMENU_PXI_FIFO_TAG, SYSMi_PXIFifoRecvCallback );
|
// PXI_SetFifoRecvCallback( SYSMENU_PXI_FIFO_TAG, SYSMi_PXIFifoRecvCallback );
|
||||||
|
|
||||||
// ランチャーパラメター取得(Cold/Hotスタート判定含む)
|
// ランチャーパラメター取得(Cold/Hotスタート判定含む)
|
||||||
ReadLauncherParameter();
|
ReadLauncherParameter();
|
||||||
@ -199,17 +200,17 @@ TwlSpMain(void)
|
|||||||
BOOT_Init();
|
BOOT_Init();
|
||||||
|
|
||||||
// 活栓挿抜機能初期化
|
// 活栓挿抜機能初期化
|
||||||
if( ( SYSM_GetLauncherParamBody()->v1.flags.isValid ) &&
|
if( ( SYSM_GetLauncherParamBody()->v1.flags.isValid ) &&
|
||||||
( SYSM_GetLauncherParamBody()->v1.flags.bootType != LAUNCHER_BOOTTYPE_ROM ) &&
|
( SYSM_GetLauncherParamBody()->v1.flags.bootType != LAUNCHER_BOOTTYPE_ROM ) &&
|
||||||
( SYSM_GetLauncherParamBody()->v1.bootTitleID )
|
( SYSM_GetLauncherParamBody()->v1.bootTitleID )
|
||||||
) {
|
) {
|
||||||
// ランチャーパラメータでダイレクトカードブート以外の指定がある時は、活線挿抜をOFFにする。
|
// ランチャーパラメータでダイレクトカードブート以外の指定がある時は、活線挿抜をOFFにする。
|
||||||
SYSMi_GetWork()->flags.common.isEnableHotSW = 0;
|
SYSMi_GetWork()->flags.common.isEnableHotSW = 0;
|
||||||
}else {
|
}else {
|
||||||
// それ以外の時は活線挿抜ON
|
// それ以外の時は活線挿抜ON
|
||||||
SYSMi_GetWork()->flags.common.isEnableHotSW = 1;
|
SYSMi_GetWork()->flags.common.isEnableHotSW = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
HOTSW_Init();
|
HOTSW_Init();
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user