mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
This commit adds initial support for rotor. Basic drivers including: - hardware timer - GPIO - UART - watchdog BUG=chrome-os-partner:51665 BRANCH=None TEST=make -j buildall tests Change-Id: I4e384fc69297f807268dcd43cf47f99ab059fd05 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/373202 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
22 lines
433 B
C
22 lines
433 B
C
/* Copyright 2016 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.
|
|
*/
|
|
|
|
/* Clock and power management settings */
|
|
|
|
#include "common.h"
|
|
|
|
|
|
void clock_init(void)
|
|
{
|
|
/* Clocks should already be initialized for us. */
|
|
}
|
|
|
|
int clock_get_freq(void)
|
|
{
|
|
return CPU_CLOCK;
|
|
}
|
|
|
|
/* TODO(aaboagye): Add support for changing sysclock frequency. */
|