From cdc3fbf2cfe5a14c04d3a1454aef98d8be73f201 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 23 Jan 2012 14:53:20 -0800 Subject: Calibrate internal oscillator using hibernate clock This works around a chip errata where the internal oscillator on early EC parts (as used on proto0) is untrimmed. Signed-off-by: Randall Spangler BUG=chrome-os-partner:7693 TEST=if it runs, it works Change-Id: Ie82a524543f4cf25efd0de7998dbdae103bd126b --- chip/lm4/registers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chip/lm4/registers.h') diff --git a/chip/lm4/registers.h b/chip/lm4/registers.h index ac7f21bd95..0e8b341a36 100644 --- a/chip/lm4/registers.h +++ b/chip/lm4/registers.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * @@ -160,6 +160,8 @@ static inline int lm4_fan_addr(int ch, int offset) #define LM4_SYSTEM_RESC LM4REG(0x400fe05c) #define LM4_SYSTEM_RCC LM4REG(0x400fe060) #define LM4_SYSTEM_RCC2 LM4REG(0x400fe070) +#define LM4_SYSTEM_PIOSCCAL LM4REG(0x400fe150) +#define LM4_SYSTEM_PIOSCSTAT LM4REG(0x400fe154) #define LM4_SYSTEM_PLLSTAT LM4REG(0x400fe168) #define LM4_SYSTEM_RCGCWD LM4REG(0x400fe600) #define LM4_SYSTEM_RCGCTIMER LM4REG(0x400fe604) -- cgit v1.2.1