summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-06-17 16:09:40 +0300
committerTom Rini <trini@konsulko.com>2018-06-17 16:09:40 +0300
commit103c45fb0daab924308046454b4aaad4a09237c4 (patch)
treedced5f70fb2e8dc9163f9884b518a4cf7c146441 /board
parenta715415bb5948c84cc44c601b193188990f7238b (diff)
parent891bf67611e93df3f3a6c451d945a7810435ed13 (diff)
downloadu-boot-103c45fb0daab924308046454b4aaad4a09237c4.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-sh
Diffstat (limited to 'board')
-rw-r--r--board/renesas/eagle/eagle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/renesas/eagle/eagle.c b/board/renesas/eagle/eagle.c
index 4bf0a202e0..7b89c10cc7 100644
--- a/board/renesas/eagle/eagle.c
+++ b/board/renesas/eagle/eagle.c
@@ -26,8 +26,8 @@
DECLARE_GLOBAL_DATA_PTR;
+#define CPGWPR 0xE6150900
#define CPGWPCR 0xE6150904
-#define CPGWPR 0xE615090C
/* PLL */
#define PLL0CR 0xE61500D8
@@ -54,8 +54,9 @@ void s_init(void)
int board_early_init_f(void)
{
- writel(0xA5A5FFFF, CPGWPCR);
- writel(0x5A5A0000, CPGWPR);
+ /* Unlock CPG access */
+ writel(0xA5A5FFFF, CPGWPR);
+ writel(0x5A5A0000, CPGWPCR);
/* TMU0 */
mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125);