kernel: remove CONFIG_KERNEL_LINK_IN_VIRT
There actually is no need for a separate kconfig here, as the kernel VM address and SRAM address can be used to figure out if the kernel is linked in virtual address space. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
273a5e670b
commit
e211d3a999
|
@ -183,23 +183,6 @@ config SRAM_OFFSET
|
|||
|
||||
If unsure, leave at the default value 0.
|
||||
|
||||
config CAN_LINK_IN_VIRT
|
||||
bool
|
||||
help
|
||||
Hidden option to indicate that the architecture, SoC or board
|
||||
linker script can link the kernel in virtual address space.
|
||||
|
||||
config KERNEL_LINK_IN_VIRT
|
||||
bool "Link Kernel in Virtual Address Space"
|
||||
depends on MMU
|
||||
depends on CAN_LINK_IN_VIRT
|
||||
help
|
||||
Enable linking the kernel in virtual address space defined by
|
||||
KERNEL_VM_BASE, KERNEL_VM_SIZE and KERNEL_VM_OFFSET.
|
||||
|
||||
Requires linker script support. If unsure, says N and the kernel
|
||||
will be linked in physical address space.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Compiler Options"
|
||||
|
|
|
@ -62,7 +62,6 @@ config X86
|
|||
select ARCH_HAS_TIMING_FUNCTIONS
|
||||
select ARCH_HAS_THREAD_LOCAL_STORAGE
|
||||
select ARCH_HAS_DEMAND_PAGING
|
||||
select CAN_LINK_IN_VIRT
|
||||
help
|
||||
x86 architecture
|
||||
|
||||
|
|
Loading…
Reference in a new issue