diff options
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | 2012-07-05 01:43:48 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-03 00:04:22 (GMT) |
commit | a12633122c578f046c1ac72f4e9e13f7493865af (patch) | |
tree | 77d1706a06fec7cdc367db2aee7100babca86d95 /board | |
parent | 9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46 (diff) | |
download | u-boot-a12633122c578f046c1ac72f4e9e13f7493865af.tar.xz |
arm: rmobile: kzm9g: Adjust low level hardware setting
Adjust low level hardware setting in s_init.
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/kmc/kzm9g/kzm9g.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index ad72c8d..38efad4 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -163,6 +163,7 @@ void s_init(void) #define LIFEC_SEC_SRC_BIT (1 << 15) writel(readl(LIFEC_SEC_SRC) & ~LIFEC_SEC_SRC_BIT, LIFEC_SEC_SRC); + clrbits_le32(&cpg->smstpcr3, (1 << 15)); clrbits_le32(&cpg_srcr->srcr3, (1 << 15)); clrbits_le32(&cpg->smstpcr2, (1 << 18)); clrbits_le32(&cpg_srcr->srcr2, (1 << 18)); @@ -266,6 +267,7 @@ void s_init(void) writel(0x00000b0b, &cpg->frqcrd); cmp_loop(&cpg->frqcrd, 0x80000000, 0x0); + writel(0xfffffffc, &cpg->cpgxxcs4); } int board_early_init_f(void) |