diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-10 05:16:55 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:42 -0500 |
commit | 36bcd39dbca824daffe16d607ae574b6edc7d31a (patch) | |
tree | 93c096c3703b1a89c0a440c4ff54fac4cf141641 /arch/sh/mm | |
parent | af3c7dfe822b598a2f977098101ed8b63cf0fdd1 (diff) |
sh: Split out 29-bit and 32-bit physical mode definitions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/Kconfig | 11 | ||||
-rw-r--r-- | arch/sh/mm/Makefile | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index a7bbc2cbbf8c..8192c872a69a 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -46,9 +46,20 @@ config MEMORY_SIZE | |||
46 | as 0x00400000 which was the default value before this became | 46 | as 0x00400000 which was the default value before this became |
47 | configurable. | 47 | configurable. |
48 | 48 | ||
49 | # Physical addressing modes | ||
50 | |||
51 | config 29BIT | ||
52 | def_bool !32BIT | ||
53 | depends on SUPERH32 | ||
54 | |||
49 | config 32BIT | 55 | config 32BIT |
56 | bool | ||
57 | default y if CPU_SH5 | ||
58 | |||
59 | config PMB | ||
50 | bool "Support 32-bit physical addressing through PMB" | 60 | bool "Support 32-bit physical addressing through PMB" |
51 | depends on MMU && (CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785) | 61 | depends on MMU && (CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785) |
62 | select 32BIT | ||
52 | default y | 63 | default y |
53 | help | 64 | help |
54 | If you say Y here, physical addressing will be extended to | 65 | If you say Y here, physical addressing will be extended to |
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index aa44607f072d..d35caccd0aaa 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile | |||
@@ -31,7 +31,7 @@ endif | |||
31 | endif | 31 | endif |
32 | 32 | ||
33 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | 33 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
34 | obj-$(CONFIG_32BIT) += pmb.o | 34 | obj-$(CONFIG_PMB) += pmb.o |
35 | obj-$(CONFIG_NUMA) += numa.o | 35 | obj-$(CONFIG_NUMA) += numa.o |
36 | 36 | ||
37 | EXTRA_CFLAGS += -Werror | 37 | EXTRA_CFLAGS += -Werror |