mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
NANDファームではバックライトをONしなくなったためランチャーでONに。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@588 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
7be9cb340d
commit
ab4e4526d5
@ -73,6 +73,7 @@ INSTALL_TARGETS = $(BINDIR)/$(TARGET_NAME).tef \
|
|||||||
INSTALL_DIR = $(TWL_INSTALL_COMPONENTSDIR)/$(TARGET_NAME)/$(TWL_BUILDTYPE)
|
INSTALL_DIR = $(TWL_INSTALL_COMPONENTSDIR)/$(TARGET_NAME)/$(TWL_BUILDTYPE)
|
||||||
|
|
||||||
LINCLUDES = $(ROOT)/build/libraries/spi/ARM7/include \
|
LINCLUDES = $(ROOT)/build/libraries/spi/ARM7/include \
|
||||||
|
$(ROOT)/build/libraries/spi/ARM7/pm/include \
|
||||||
$(SYSMENU_ROOT)/build/libraries_sysmenu/sysmenu/common/include
|
$(SYSMENU_ROOT)/build/libraries_sysmenu/sysmenu/common/include
|
||||||
LLIBRARIES += libwl_sp.TWL.LTD.a
|
LLIBRARIES += libwl_sp.TWL.LTD.a
|
||||||
LDEPENDS_NEF = $(TWL_LIBS) $(LLIBRARIES)
|
LDEPENDS_NEF = $(TWL_LIBS) $(LLIBRARIES)
|
||||||
|
|||||||
@ -37,6 +37,7 @@
|
|||||||
#include <twl/hw/common/mmap_wramEnv.h>
|
#include <twl/hw/common/mmap_wramEnv.h>
|
||||||
#include <sysmenu.h>
|
#include <sysmenu.h>
|
||||||
#include "nvram_sp.h"
|
#include "nvram_sp.h"
|
||||||
|
#include "pm_pmic.h"
|
||||||
#include "internal_api.h"
|
#include "internal_api.h"
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*
|
/*---------------------------------------------------------------------------*
|
||||||
@ -108,6 +109,12 @@ TwlSpMain(void)
|
|||||||
// ランチャーからアプリを起動する際には、reboot.cが値を再セットしてくれる。
|
// ランチャーからアプリを起動する際には、reboot.cが値を再セットしてくれる。
|
||||||
SetSCFGWork(); // [TODO]未デバッグ
|
SetSCFGWork(); // [TODO]未デバッグ
|
||||||
|
|
||||||
|
// バックライトON
|
||||||
|
while ( (reg_GX_DISPSTAT & REG_GX_DISPSTAT_INI_MASK) == FALSE )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
PMi_SetControl( PMIC_CTL_BKLT1 | PMIC_CTL_BKLT2 );
|
||||||
|
|
||||||
// OS 初期化
|
// OS 初期化
|
||||||
OS_Init();
|
OS_Init();
|
||||||
OS_InitTick();
|
OS_InitTick();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user