summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2007-09-16 20:53:25 +1000
committerGrant Likely <grant.likely@secretlab.ca>2007-10-16 17:09:21 -0600
commit1088a20998a1091b22b42cf3dc2f5f1be4faaead (patch)
treeeb0c99f67c4b6dc38766a1808602098e6023161e /arch/ppc
parentd4697af4f3cc63f9f4d62022d79021138ecc0499 (diff)
downloadtalos-obmc-linux-1088a20998a1091b22b42cf3dc2f5f1be4faaead.tar.gz
talos-obmc-linux-1088a20998a1091b22b42cf3dc2f5f1be4faaead.zip
[POWERPC] rheap: Changes config mechanism
Instead of having in the makefile all the option that requires rheap, we define a configuration symbol and when needed we make sure it's selected. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index 20dce4681259..607925c8a99e 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -102,6 +102,7 @@ config 44x
config 8xx
bool "8xx"
+ select PPC_LIB_RHEAP
config E200
bool "e200"
@@ -798,6 +799,7 @@ config CPM1
config CPM2
bool
depends on 8260 || MPC8560 || MPC8555
+ select PPC_LIB_RHEAP
default y
help
The CPM2 (Communications Processor Module) is a coprocessor on
@@ -1277,6 +1279,10 @@ config BOOT_LOAD
config PIN_TLB
bool "Pinned Kernel TLBs (860 ONLY)"
depends on ADVANCED_OPTIONS && 8xx
+
+config PPC_LIB_RHEAP
+ bool
+
endmenu
source "net/Kconfig"
OpenPOWER on IntegriCloud