soc: it8xxx2: Select KERNEL_NO_LTO only when LTO is enabled
Select KERNEL_NO_LTO only when LTO is enabled. This ensures proper handling when kernel code is placed in RAM. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
committed by
Henrik Brix Andersen
parent
2edece9d58
commit
125d88c172
@@ -235,6 +235,7 @@ config SOC_IT8XXX2_KERNEL_IN_RAM
|
||||
bool "Place kernel handling code in RAM"
|
||||
select SOC_IT8XXX2_USE_ILM
|
||||
select SOC_IT8XXX2_LIBRARY_TO_RAM
|
||||
select KERNEL_NO_LTO if LTO
|
||||
help
|
||||
Place kernel handling code in ILM. This can significantly improve performance.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user