-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: nxp_adsp: Prepare Kconfig files for RT595 ADSP
Refactor Kconfig files to prepare for RT595 ADSP: - consolidate common config parameters in top level Kconfig.defconfig - remove config parameters that are set to default (SMP, KERNEL_ENTRY, MULTI_LEVEL_INTERRUPTS, 2ND_LEVEL_INTERRUPTS) Signed-off-by: Dmitry Lukyantsev <[email protected]>
- Loading branch information
Dmitry Lukyantsev
committed
Aug 10, 2023
1 parent
352ece1
commit e7079a1
Showing
5 changed files
with
29 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# NXP i.MX8 SoC family CMake file | ||
# NXP i.MX8/RT SoC family CMake file | ||
# | ||
# Copyright (c) 2021 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(common) | ||
|
||
# west sign | ||
if(CONFIG_NXP_ADSP_SIGN_IMAGE) | ||
# west sign | ||
|
||
# See detailed comments in soc/xtensa/intel_adsp/common/CMakeLists.txt | ||
add_custom_target(zephyr.ri ALL | ||
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri | ||
) | ||
# See detailed comments in soc/xtensa/intel_adsp/common/CMakeLists.txt | ||
add_custom_target(zephyr.ri ALL | ||
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri | ||
) | ||
|
||
add_custom_command( | ||
OUTPUT ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri | ||
COMMENT "west sign --if-tool-available --tool rimage ..." | ||
COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OPTS} | ||
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME} | ||
) | ||
add_custom_command( | ||
OUTPUT ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri | ||
COMMENT "west sign --if-tool-available --tool rimage ..." | ||
COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OPTS} | ||
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME} | ||
) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
# NXP i.MX8 SoC family default configuration options | ||
# NXP i.MX8/RT SoC family default configuration options | ||
# | ||
# Copyright (c) 2021 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
source "soc/xtensa/nxp_adsp/*/Kconfig.defconfig.series" | ||
|
||
config CACHE_MANAGEMENT | ||
def_bool y | ||
default y | ||
|
||
config XTENSA_TIMER | ||
default y | ||
|
||
# To prevent test uses TEST_LOGGING_MINIMAL | ||
config TEST_LOGGING_DEFAULTS | ||
default n | ||
depends on TEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters