From 92b04717e9479f2cd3b46382e35195b3d672d4ea Mon Sep 17 00:00:00 2001 From: balapati Date: Wed, 26 May 2021 17:22:29 +0530 Subject: [PATCH] renoir: Add support for AMD renoir platform Add renoir platform support to build fw image. Add renoir_defconfig for renoir platform. Signed-off-by: Basavaraj Hiregoudar Signed-off-by: Anup Kulkarni Signed-off-by: balapati --- src/arch/xtensa/CMakeLists.txt | 4 ++++ src/arch/xtensa/configs/renoir_defconfig | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/arch/xtensa/configs/renoir_defconfig diff --git a/src/arch/xtensa/CMakeLists.txt b/src/arch/xtensa/CMakeLists.txt index ad0f7551a..eea6e5c54 100644 --- a/src/arch/xtensa/CMakeLists.txt +++ b/src/arch/xtensa/CMakeLists.txt @@ -48,6 +48,10 @@ set(platform_ld_script ${platform_folder}.x) set(platform_rom_ld_script rom.x) set(platform_bootldr_ld_script boot_ldr.x) +if(CONFIG_RENOIR) + set(platform_folder amd/renoir) + set(platform_ld_script renoir.x) +endif() # includes target_include_directories(sof_options INTERFACE diff --git a/src/arch/xtensa/configs/renoir_defconfig b/src/arch/xtensa/configs/renoir_defconfig new file mode 100644 index 000000000..fd4f4d214 --- /dev/null +++ b/src/arch/xtensa/configs/renoir_defconfig @@ -0,0 +1,8 @@ +CONFIG_RENOIR=y +CONFIG_AMD_BT=n +CONFIG_CORE_COUNT=1 +CONFIG_LP_MEMORY_BANKS=0 +CONFIG_HP_MEMORY_BANKS=10 +CONFIG_FORMAT_CONVERT_HIFI3=n +CONFIG_LP_SRAM=n +CONFIG_HAVE_AGENT=n