aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
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 000000000000..8ce56e5bd78f
--- /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 e3770ed87825..73df2297a5f3 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