diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2007-09-16 06:53:25 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2007-10-16 19:09:21 -0400 |
commit | 1088a20998a1091b22b42cf3dc2f5f1be4faaead (patch) | |
tree | eb0c99f67c4b6dc38766a1808602098e6023161e /arch/ppc/Kconfig | |
parent | d4697af4f3cc63f9f4d62022d79021138ecc0499 (diff) |
[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/Kconfig')
-rw-r--r-- | arch/ppc/Kconfig | 6 |
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 | |||
102 | 102 | ||
103 | config 8xx | 103 | config 8xx |
104 | bool "8xx" | 104 | bool "8xx" |
105 | select PPC_LIB_RHEAP | ||
105 | 106 | ||
106 | config E200 | 107 | config E200 |
107 | bool "e200" | 108 | bool "e200" |
@@ -798,6 +799,7 @@ config CPM1 | |||
798 | config CPM2 | 799 | config CPM2 |
799 | bool | 800 | bool |
800 | depends on 8260 || MPC8560 || MPC8555 | 801 | depends on 8260 || MPC8560 || MPC8555 |
802 | select PPC_LIB_RHEAP | ||
801 | default y | 803 | default y |
802 | help | 804 | help |
803 | The CPM2 (Communications Processor Module) is a coprocessor on | 805 | The CPM2 (Communications Processor Module) is a coprocessor on |
@@ -1277,6 +1279,10 @@ config BOOT_LOAD | |||
1277 | config PIN_TLB | 1279 | config PIN_TLB |
1278 | bool "Pinned Kernel TLBs (860 ONLY)" | 1280 | bool "Pinned Kernel TLBs (860 ONLY)" |
1279 | depends on ADVANCED_OPTIONS && 8xx | 1281 | depends on ADVANCED_OPTIONS && 8xx |
1282 | |||
1283 | config PPC_LIB_RHEAP | ||
1284 | bool | ||
1285 | |||
1280 | endmenu | 1286 | endmenu |
1281 | 1287 | ||
1282 | source "net/Kconfig" | 1288 | source "net/Kconfig" |