projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen 2.4 release
[profile/mobile/platform/kernel/u-boot-tm1.git]
/
arch
/
arm
/
cpu
/
arm926ejs
/
sc8800g
/
chg_phy.c
1
#include <common.h>
2
#include <asm/io.h>
3
4
#include <asm/arch/regs_adi.h>
5
#include <asm/arch/adi_hal_internal.h>
6
#include <asm/arch-sc8800g/analog_reg_v3.h>
7
void CHG_TurnOn (void)
8
{
9
ANA_REG_AND (ANA_CHGR_CTL0,~CHGR_PD_BIT);
10
}
11
12
void CHG_ShutDown (void)
13
{
14
ANA_REG_OR (ANA_CHGR_CTL0,CHGR_PD_BIT);
15
}
16