mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
2eb48ff7a2
commit
5025897774
39 changed files with 7 additions and 4792 deletions
|
@ -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);
|
||||
}
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue