[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>

authored by

Hyok S. Choi and committed by
Russell King
f8c07de6 75d90832

+33 -1
+27
arch/arm/Kconfig-nommu
···
··· 1 + # 2 + # Kconfig for uClinux(non-paged MM) depend configurations 3 + # Hyok S. Choi <hyok.choi@samsung.com> 4 + # 5 + 6 + config 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 + 12 + config DRAM_BASE 13 + hex '(S)DRAM Base Address' if SET_MEM_PARAM 14 + default 0x00800000 15 + 16 + config DRAM_SIZE 17 + hex '(S)DRAM SIZE' if SET_MEM_PARAM 18 + default 0x00800000 19 + 20 + config FLASH_MEM_BASE 21 + hex 'FLASH Base Address' if SET_MEM_PARAM 22 + default 0x00400000 23 + 24 + config FLASH_SIZE 25 + hex 'FLASH Size' if SET_MEM_PARAM 26 + default 0x00400000 27 +
+6 -1
arch/arm/Makefile
··· 17 # Select a platform tht is kept up-to-date 18 KBUILD_DEFCONFIG := versatile_defconfig 19 20 ifeq ($(CONFIG_FRAME_POINTER),y) 21 CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog 22 endif ··· 132 MACHINE := 133 endif 134 135 - export TEXT_OFFSET GZFLAGS 136 137 # Do we have FASTFPE? 138 FASTFPE :=arch/arm/fastfpe
··· 17 # Select a platform tht is kept up-to-date 18 KBUILD_DEFCONFIG := versatile_defconfig 19 20 + # defines filename extension depending memory manement type. 21 + ifeq ($(CONFIG_MMU),) 22 + MMUEXT := -nommu 23 + endif 24 + 25 ifeq ($(CONFIG_FRAME_POINTER),y) 26 CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog 27 endif ··· 127 MACHINE := 128 endif 129 130 + export TEXT_OFFSET GZFLAGS MMUEXT 131 132 # Do we have FASTFPE? 133 FASTFPE :=arch/arm/fastfpe