From 502589777416aaee32e4ba1682c6eb3aa3a88e1c Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Wed, 7 Jun 2017 17:33:11 +0200 Subject: 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 --- arch/powerpc/lib/time.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'arch/powerpc/lib/time.c') diff --git a/arch/powerpc/lib/time.c b/arch/powerpc/lib/time.c index c1a0a69a51..3a5ad4d8d2 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); } /* ------------------------------------------------------------------------- */ -- cgit v1.2.3