diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2015-02-04 17:23:53 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-17 10:19:34 +0200 |
commit | fcfd989774eaffa891666df617e3e424660769d1 (patch) | |
tree | 8bd2b561ff315875037992fd9aeedb2e56b8a5c2 /src/soc/broadcom/cygnus/include | |
parent | 352135e6e8f1206da6b09350a8a356c864f41fd0 (diff) |
cygnus: add timer functions
this implements udelay.
BUG=chrome-os-partner:36011
BRANCH=broadcom-firmware
TEST=measured 10 sec of delay by stopwatch
Change-Id: I833b71fac98a871bff71478221a55e1ca15c13df
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 137456e63931052f80247b72f98f958afdba8a27
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Change-Id: Ib5e33a19421eae900800fce94e9fd51bc2c665c4
Original-Reviewed-on: https://chromium-review.googlesource.com/251302
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9766
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Diffstat (limited to 'src/soc/broadcom/cygnus/include')
-rw-r--r-- | src/soc/broadcom/cygnus/include/soc/addressmap.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/soc/broadcom/cygnus/include/soc/addressmap.h b/src/soc/broadcom/cygnus/include/soc/addressmap.h new file mode 100644 index 0000000000..ef6a709d60 --- /dev/null +++ b/src/soc/broadcom/cygnus/include/soc/addressmap.h @@ -0,0 +1,26 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2015 Google Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef __SOC_BROADCOM_CYGNUS_ADDRESSMAP_H__ +#define __SOC_BROADCOM_CYGNUS_ADDRESSMAP_H__ + +#define IPROC_PERIPH_BASE 0x19020000 +#define IPROC_PERIPH_GLB_TIM_REG_BASE (IPROC_PERIPH_BASE + 0x200) + +#endif /* __SOC_BROADCOM_CYGNUS_ADDRESSMAP_H__ */ |