]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
SPARC/LEON: power down instruction different of different LEONs
authorDaniel Hellstrom <daniel@gaisler.com>
Thu, 27 Jan 2011 01:26:58 +0000 (01:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Mar 2011 01:19:04 +0000 (18:19 -0700)
commit7279b82cb1975ba4e337a549757f17418cfdffad
treebe97311b59bf95471ab2aa6e303e92c9a4427ac9
parent684151a75bf25f5aeb8a23010da91a34e17b7353
SPARC/LEON: power down instruction different of different LEONs

The way a LEON is powered down is implemented differently depending
on CHIP type. The AMBA Plug&Play system ID tells revision of GRLIB
and CHIP.

This is for example needed by the GR-LEON4-ITX board and the UT699.

Previously the power down support for LEON was limited to SMP, now
both SMP and UP systems use the instruction.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/leon_amba.h
arch/sparc/kernel/Makefile
arch/sparc/kernel/leon_kernel.c
arch/sparc/kernel/leon_pmc.c [new file with mode: 0644]
arch/sparc/kernel/leon_smp.c