Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # Kconfig for uClinux(non-paged MM) depend configurations
0004 # Hyok S. Choi <hyok.choi@samsung.com>
0005 # 
0006 
0007 config SET_MEM_PARAM
0008         bool "Set flash/sdram size and base addr"
0009         help
0010          Say Y to manually set the base addresses and sizes.
0011          otherwise, the default values are assigned.
0012 
0013 config DRAM_BASE
0014         hex '(S)DRAM Base Address' if SET_MEM_PARAM
0015         default 0x00800000
0016 
0017 config DRAM_SIZE
0018         hex '(S)DRAM SIZE' if SET_MEM_PARAM
0019         default 0x00800000
0020 
0021 config FLASH_MEM_BASE
0022         hex 'FLASH Base Address' if SET_MEM_PARAM
0023         depends on CPU_ARM740T || CPU_ARM946E || CPU_ARM940T
0024         default 0x00400000
0025 
0026 config FLASH_SIZE
0027         hex 'FLASH Size' if SET_MEM_PARAM
0028         depends on CPU_ARM740T || CPU_ARM946E || CPU_ARM940T
0029         default 0x00400000
0030 
0031 config PROCESSOR_ID
0032         hex 'Hard wire the processor ID'
0033         default 0x00007700
0034         depends on !(CPU_CP15 || CPU_V7M)
0035         help
0036           If processor has no CP15 register, this processor ID is
0037           used instead of the auto-probing which utilizes the register.
0038 
0039 config REMAP_VECTORS_TO_RAM
0040         bool 'Install vectors to the beginning of RAM'
0041         help
0042           The kernel needs to change the hardware exception vectors.
0043           In nommu mode, the hardware exception vectors are normally
0044           placed at address 0x00000000. However, this region may be
0045           occupied by read-only memory depending on H/W design.
0046 
0047           If the region contains read-write memory, say 'n' here.
0048 
0049           If your CPU provides a remap facility which allows the exception
0050           vectors to be mapped to writable memory, say 'n' here.
0051 
0052           Otherwise, say 'y' here.  In this case, the kernel will require
0053           external support to redirect the hardware exception vectors to
0054           the writable versions located at DRAM_BASE.
0055 
0056 config ARM_MPU
0057        bool 'Use the ARM v7 PMSA Compliant MPU'
0058        depends on CPU_V7 || CPU_V7M
0059        default y if CPU_V7
0060        help
0061          Some ARM systems without an MMU have instead a Memory Protection
0062          Unit (MPU) that defines the type and permissions for regions of
0063          memory.
0064 
0065          If your CPU has an MPU then you should choose 'y' here unless you
0066          know that you do not want to use the MPU.