summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/time.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2017-06-07 15:33:11 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-12 12:38:05 (GMT)
commit502589777416aaee32e4ba1682c6eb3aa3a88e1c (patch)
tree11b6c98a966258866e7c75bbba8ebacc1acb1ba7 /arch/powerpc/lib/time.c
parent2eb48ff7a210ddd2a39bac23b3b9b39c60c32aef (diff)
downloadu-boot-fsl-qoriq-502589777416aaee32e4ba1682c6eb3aa3a88e1c.tar.xz
powerpc, 5xx: remove support for 5xx
There was for long time no activity in the 5xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 5xx, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/powerpc/lib/time.c')
-rw-r--r--arch/powerpc/lib/time.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/lib/time.c b/arch/powerpc/lib/time.c
index c1a0a69..3a5ad4d 100644
--- a/arch/powerpc/lib/time.c
+++ b/arch/powerpc/lib/time.c
@@ -64,21 +64,10 @@ int timer_init(void)
{
unsigned long temp;
-#if defined(CONFIG_5xx)
- volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
-
- /* unlock */
- immap->im_sitk.sitk_tbk = KAPWR_KEY;
-#endif
-
/* reset */
asm volatile("li %0,0 ; mttbu %0 ; mttbl %0;"
: "=&r"(temp) );
-#if defined(CONFIG_5xx)
- /* enable */
- immap->im_sit.sit_tbscr |= TBSCR_TBE;
-#endif
return (0);
}
/* ------------------------------------------------------------------------- */