diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-27 03:15:26 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-27 03:15:26 -0500 |
commit | 9b781727fd1062671afa144b93e8c69b14bcac4d (patch) | |
tree | 1cec35f0cedc664394b15165d96944019b8e1ff2 /arch | |
parent | 0eb4cb9b16aba6d610a0716503b96d299b308d44 (diff) |
powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc
Also renamed temp.c to tau_6xx.c (for thermal assist unit) and updated
the Kconfig option description and help text for CONFIG_TAU.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/kernel/Makefile | 3 | ||||
-rw-r--r-- | arch/powerpc/kernel/cpu_setup_6xx.S (renamed from arch/ppc/kernel/cpu_setup_6xx.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/kernel/tau_6xx.c (renamed from arch/ppc/kernel/temp.c) | 0 | ||||
-rw-r--r-- | arch/ppc/kernel/Makefile | 4 |
5 files changed, 4 insertions, 7 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index a433b7126d33..2cdc35ce8045 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -491,7 +491,7 @@ config PPC601_SYNC_FIX | |||
491 | If in doubt, say Y here. | 491 | If in doubt, say Y here. |
492 | 492 | ||
493 | config TAU | 493 | config TAU |
494 | bool "Thermal Management Support" | 494 | bool "On-chip CPU temperature sensor support" |
495 | depends on 6xx | 495 | depends on 6xx |
496 | help | 496 | help |
497 | G3 and G4 processors have an on-chip temperature sensor called the | 497 | G3 and G4 processors have an on-chip temperature sensor called the |
@@ -500,7 +500,7 @@ config TAU | |||
500 | on-die temperature in /proc/cpuinfo if the cpu supports it. | 500 | on-die temperature in /proc/cpuinfo if the cpu supports it. |
501 | 501 | ||
502 | Unfortunately, on some chip revisions, this sensor is very inaccurate | 502 | Unfortunately, on some chip revisions, this sensor is very inaccurate |
503 | and in some cases, does not work at all, so don't assume the cpu | 503 | and in many cases, does not work at all, so don't assume the cpu |
504 | temp is actually what /proc/cpuinfo says it is. | 504 | temp is actually what /proc/cpuinfo says it is. |
505 | 505 | ||
506 | config TAU_INT | 506 | config TAU_INT |
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index e7fddf1e42c7..754c227835bb 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -34,7 +34,8 @@ obj-$(CONFIG_IBMEBUS) += ibmebus.o | |||
34 | obj-$(CONFIG_GENERIC_TBSYNC) += smp-tbsync.o | 34 | obj-$(CONFIG_GENERIC_TBSYNC) += smp-tbsync.o |
35 | obj64-$(CONFIG_PPC_MULTIPLATFORM) += nvram_64.o | 35 | obj64-$(CONFIG_PPC_MULTIPLATFORM) += nvram_64.o |
36 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 36 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
37 | obj-$(CONFIG_6xx) += idle_6xx.o l2cr_6xx.o | 37 | obj-$(CONFIG_6xx) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o |
38 | obj-$(CONFIG_TAU) += tau_6xx.o | ||
38 | 39 | ||
39 | ifeq ($(CONFIG_PPC_MERGE),y) | 40 | ifeq ($(CONFIG_PPC_MERGE),y) |
40 | 41 | ||
diff --git a/arch/ppc/kernel/cpu_setup_6xx.S b/arch/powerpc/kernel/cpu_setup_6xx.S index 55ed7716636f..55ed7716636f 100644 --- a/arch/ppc/kernel/cpu_setup_6xx.S +++ b/arch/powerpc/kernel/cpu_setup_6xx.S | |||
diff --git a/arch/ppc/kernel/temp.c b/arch/powerpc/kernel/tau_6xx.c index 26bd8ea35a4e..26bd8ea35a4e 100644 --- a/arch/ppc/kernel/temp.c +++ b/arch/powerpc/kernel/tau_6xx.c | |||
diff --git a/arch/ppc/kernel/Makefile b/arch/ppc/kernel/Makefile index 3d50a2686839..d6a4863d4e7c 100644 --- a/arch/ppc/kernel/Makefile +++ b/arch/ppc/kernel/Makefile | |||
@@ -13,7 +13,6 @@ extra-y += vmlinux.lds | |||
13 | obj-y := entry.o traps.o time.o misc.o \ | 13 | obj-y := entry.o traps.o time.o misc.o \ |
14 | setup.o \ | 14 | setup.o \ |
15 | ppc_htab.o | 15 | ppc_htab.o |
16 | obj-$(CONFIG_6xx) += cpu_setup_6xx.o | ||
17 | obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o | 16 | obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o |
18 | obj-$(CONFIG_MODULES) += module.o ppc_ksyms.o | 17 | obj-$(CONFIG_MODULES) += module.o ppc_ksyms.o |
19 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o | 18 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o |
@@ -21,7 +20,6 @@ obj-$(CONFIG_PCI) += pci.o | |||
21 | obj-$(CONFIG_RAPIDIO) += rio.o | 20 | obj-$(CONFIG_RAPIDIO) += rio.o |
22 | obj-$(CONFIG_KGDB) += ppc-stub.o | 21 | obj-$(CONFIG_KGDB) += ppc-stub.o |
23 | obj-$(CONFIG_SMP) += smp.o smp-tbsync.o | 22 | obj-$(CONFIG_SMP) += smp.o smp-tbsync.o |
24 | obj-$(CONFIG_TAU) += temp.o | ||
25 | ifndef CONFIG_E200 | 23 | ifndef CONFIG_E200 |
26 | obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o | 24 | obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o |
27 | endif | 25 | endif |
@@ -34,12 +32,10 @@ endif | |||
34 | # These are here while we do the architecture merge | 32 | # These are here while we do the architecture merge |
35 | 33 | ||
36 | else | 34 | else |
37 | obj-$(CONFIG_6xx) += cpu_setup_6xx.o | ||
38 | obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o | 35 | obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o |
39 | obj-$(CONFIG_MODULES) += module.o | 36 | obj-$(CONFIG_MODULES) += module.o |
40 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o | 37 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o |
41 | obj-$(CONFIG_KGDB) += ppc-stub.o | 38 | obj-$(CONFIG_KGDB) += ppc-stub.o |
42 | obj-$(CONFIG_TAU) += temp.o | ||
43 | ifndef CONFIG_E200 | 39 | ifndef CONFIG_E200 |
44 | obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o | 40 | obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o |
45 | endif | 41 | endif |