From ab4e4526d5456f1d52701d061be90c627d5c851b Mon Sep 17 00:00:00 2001 From: nakasima Date: Tue, 5 Feb 2008 09:07:26 +0000 Subject: [PATCH] =?UTF-8?q?NAND=E3=83=95=E3=82=A1=E3=83=BC=E3=83=A0?= =?UTF-8?q?=E3=81=A7=E3=81=AF=E3=83=90=E3=83=83=E3=82=AF=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=83=88=E3=82=92ON=E3=81=97=E3=81=AA=E3=81=8F=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=9F=E3=82=81=E3=83=A9=E3=83=B3=E3=83=81?= =?UTF-8?q?=E3=83=A3=E3=83=BC=E3=81=A7ON=E3=81=AB=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@588 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/components/hyena.TWL/Makefile | 1 + build/components/hyena.TWL/src/main.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/build/components/hyena.TWL/Makefile b/build/components/hyena.TWL/Makefile index df7b8e20..357ca49d 100644 --- a/build/components/hyena.TWL/Makefile +++ b/build/components/hyena.TWL/Makefile @@ -73,6 +73,7 @@ INSTALL_TARGETS = $(BINDIR)/$(TARGET_NAME).tef \ INSTALL_DIR = $(TWL_INSTALL_COMPONENTSDIR)/$(TARGET_NAME)/$(TWL_BUILDTYPE) LINCLUDES = $(ROOT)/build/libraries/spi/ARM7/include \ + $(ROOT)/build/libraries/spi/ARM7/pm/include \ $(SYSMENU_ROOT)/build/libraries_sysmenu/sysmenu/common/include LLIBRARIES += libwl_sp.TWL.LTD.a LDEPENDS_NEF = $(TWL_LIBS) $(LLIBRARIES) diff --git a/build/components/hyena.TWL/src/main.c b/build/components/hyena.TWL/src/main.c index f9c23880..98ad5bcf 100644 --- a/build/components/hyena.TWL/src/main.c +++ b/build/components/hyena.TWL/src/main.c @@ -37,6 +37,7 @@ #include #include #include "nvram_sp.h" +#include "pm_pmic.h" #include "internal_api.h" /*---------------------------------------------------------------------------* @@ -108,6 +109,12 @@ TwlSpMain(void) // ランチャーからアプリを起動する際には、reboot.cが値を再セットしてくれる。 SetSCFGWork(); // [TODO]未デバッグ + // バックライトON + while ( (reg_GX_DISPSTAT & REG_GX_DISPSTAT_INI_MASK) == FALSE ) + { + } + PMi_SetControl( PMIC_CTL_BKLT1 | PMIC_CTL_BKLT2 ); + // OS 初期化 OS_Init(); OS_InitTick();