aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-03-27 09:14:19 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-27 09:14:19 -0500
commitf8c07de6beac55c3273cbd679bfa67555ef14ef5 (patch)
treeade620230f6097d6174cb338f2cbdb878b682b8d /arch/arm
parent75d90832d58aa5855972cfc2bdaa94970ccd4aca (diff)
[ARM] nommu: add nommu specific Kconfig and MMUEXT variable in Makefile
This patch adds Kconfig-nommu for noMMU specific configurations and MMUEXT variable into Makefile. Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig-nommu27
-rw-r--r--arch/arm/Makefile7
2 files changed, 33 insertions, 1 deletions
diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu
new file mode 100644
index 00000000000..8ce56e5bd78
--- /dev/null
+++ b/arch/arm/Kconfig-nommu
@@ -0,0 +1,27 @@
1#
2# Kconfig for uClinux(non-paged MM) depend configurations
3# Hyok S. Choi <hyok.choi@samsung.com>
4#
5
6config SET_MEM_PARAM
7 bool "Set flash/sdram size and base addr"
8 help
9 Say Y to manually set the base addresses and sizes.
10 otherwise, the default values are assigned.
11
12config DRAM_BASE
13 hex '(S)DRAM Base Address' if SET_MEM_PARAM
14 default 0x00800000
15
16config DRAM_SIZE
17 hex '(S)DRAM SIZE' if SET_MEM_PARAM
18 default 0x00800000
19
20config FLASH_MEM_BASE
21 hex 'FLASH Base Address' if SET_MEM_PARAM
22 default 0x00400000
23
24config FLASH_SIZE
25 hex 'FLASH Size' if SET_MEM_PARAM
26 default 0x00400000
27
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index e3770ed8782..73df2297a5f 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -17,6 +17,11 @@ GZFLAGS :=-9
17# Select a platform tht is kept up-to-date 17# Select a platform tht is kept up-to-date
18KBUILD_DEFCONFIG := versatile_defconfig 18KBUILD_DEFCONFIG := versatile_defconfig
19 19
20# defines filename extension depending memory manement type.
21ifeq ($(CONFIG_MMU),)
22MMUEXT := -nommu
23endif
24
20ifeq ($(CONFIG_FRAME_POINTER),y) 25ifeq ($(CONFIG_FRAME_POINTER),y)
21CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog 26CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog
22endif 27endif
@@ -127,7 +132,7 @@ else
127MACHINE := 132MACHINE :=
128endif 133endif
129 134
130export TEXT_OFFSET GZFLAGS 135export TEXT_OFFSET GZFLAGS MMUEXT
131 136
132# Do we have FASTFPE? 137# Do we have FASTFPE?
133FASTFPE :=arch/arm/fastfpe 138FASTFPE :=arch/arm/fastfpe