mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(更新:Akabane Jumpei)
・NormalモードのRD_IDコマンドのレイテンシを 0x1 から 0x657 に修正。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1486 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
888d9a1ec6
commit
2fd34e487e
@ -26,6 +26,8 @@ extern CardThreadData HotSwThreadData;
|
|||||||
#define ROM_EMULATION_START_OFS 0x160
|
#define ROM_EMULATION_START_OFS 0x160
|
||||||
#define ROM_EMULATION_END_OFS 0x180
|
#define ROM_EMULATION_END_OFS 0x180
|
||||||
|
|
||||||
|
#define RD_NORMAL_ID_LATENCY1 0x657
|
||||||
|
|
||||||
// static value -------------------------------------------------------------
|
// static value -------------------------------------------------------------
|
||||||
static OSMessage s_Msg;
|
static OSMessage s_Msg;
|
||||||
|
|
||||||
@ -98,7 +100,7 @@ HotSwState ReadIDNormal(CardBootData *cbd)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// MCCNT1 レジスタ設定
|
// MCCNT1 レジスタ設定
|
||||||
reg_HOTSW_MCCNT1 = START_MASK | HOTSW_PAGE_STAT | (0x1 & LATENCY1_MASK);
|
reg_HOTSW_MCCNT1 = START_MASK | HOTSW_PAGE_STAT | (RD_NORMAL_ID_LATENCY1 & LATENCY1_MASK);
|
||||||
|
|
||||||
// メッセージ受信
|
// メッセージ受信
|
||||||
OS_ReceiveMessage(&HotSwThreadData.hotswDmaQueue, (OSMessage *)&s_Msg, OS_MESSAGE_BLOCK);
|
OS_ReceiveMessage(&HotSwThreadData.hotswDmaQueue, (OSMessage *)&s_Msg, OS_MESSAGE_BLOCK);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user