tegra132: Initialize CNTFRQ

BUG=chrome-os-partner:31356
BRANCH=None
TEST=Kernel boots with the changes required in depthcharge

Change-Id: I061305e0ab8f6145c0dc74b2ff958a667ff7276a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 0ff2fc86c1c6e6b592fa3faffd360a3a8c6351a9
Original-Change-Id: If1c5850607174ab0f485ef41d47016056d9832cd
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/212730
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8941
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Furquan Shaikh 2014-08-15 15:26:01 -07:00 committed by Patrick Georgi
parent f270eb9775
commit eb5e588259
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include <arch/io.h> #include <arch/io.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>
#include <soc/addressmap.h> #include <soc/addressmap.h>
#include <soc/clock.h>
#include <soc/nvidia/tegra/apbmisc.h> #include <soc/nvidia/tegra/apbmisc.h>
static void soc_read_resources(device_t dev) static void soc_read_resources(device_t dev)
@ -61,6 +62,7 @@ static void soc_read_resources(device_t dev)
static void soc_init(device_t dev) static void soc_init(device_t dev)
{ {
printk(BIOS_INFO, "CPU: Tegra132\n"); printk(BIOS_INFO, "CPU: Tegra132\n");
clock_init_arm_generic_timer();
} }
static void soc_noop(device_t dev) static void soc_noop(device_t dev)