Skip to content

Commit 0f0acaa

Browse files
lyakhlgirdwood
authored andcommitted
platform: remove support for cAVS 1.5 platforms
Remove all support for cAVS 1.5 platformsm including Apollo Lake, Sky Lake, Kaby Lake, Broxton and Gemini Lake, they aren't supported any more. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 039ccee commit 0f0acaa

File tree

95 files changed

+46
-8538
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+46
-8538
lines changed

app/boards/intel_adsp_cavs15.conf

Lines changed: 0 additions & 8 deletions
This file was deleted.

installer/GNUmakefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ $(info UNSIGNED_list = ${UNSIGNED_list} )
3939
$(info SIGNED_list = ${SIGNED_list} )
4040
$(info ALIAS_list = ${ALIAS_list} )
4141

42-
target_of_glk := apl
4342
target_of_cfl := cnl
4443
target_of_cml := cnl
4544

@@ -312,10 +311,10 @@ COMPARE_REFS ?= /lib/firmware/intel
312311
checktree:
313312
cd ${STAGING_SOF_VERSION} && \
314313
tree -a -v --dirsfirst . > ${BUILDS_ROOT}/staging_sof_tree.txt
315-
# Update sof-apl-nocodec.tplg when adding or removing a default platform
314+
# Update sof-cavs-nocodec.tplg when adding or removing a default platform
316315
diff -u tests/staging_sof${IPC_VERSION}_ref.txt ${BUILDS_ROOT}/staging_sof_tree.txt
317316
# Check two random topologies are there
318-
test -f ${STAGING_SOF_TPLG}/sof-apl-nocodec.tplg
317+
test -f ${STAGING_SOF_TPLG}/sof-tgl-nocodec.tplg
319318
test -f ${STAGING_SOF_TPLG}/sof-imx8-wm8960.tplg
320319
for t in sof-ctl sof-logger sof-probes; do \
321320
test -f ${STAGING_TOOLS}${VERSION_SUFFIX}/$${t}; done

scripts/cmake/xtensa-toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ else()
66
" Please specify toolchain to use.\n"
77
" Examples:\n"
88
" 1) cmake -DTOOLCHAIN=xt ...\n"
9-
" 2) cmake -DTOOLCHAIN=xtensa-apl-elf ...\n"
9+
" 2) cmake -DTOOLCHAIN=xtensa-cnl-elf ...\n"
1010
)
1111
endif()
1212

scripts/docker_build/sof_builder/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN cd "$HOME" && \
8888
git clone $CLONE_DEFAULTS --branch sof-gcc10x $CT_NG_REPO && \
8989
cd crosstool-ng && \
9090
./bootstrap && ./configure --prefix=`pwd` && make && make install && \
91-
for arch in apl cnl imx imx8m imx8ulp rn rmb mt8186 mt8195; do \
91+
for arch in cnl imx imx8m imx8ulp rn rmb mt8186 mt8195; do \
9292
echo "$arch: ct-ng build start..." && \
9393
cp config-${arch}-gcc10.2-gdb9 .config && \
9494
# replace the build dist to save space
@@ -99,7 +99,6 @@ RUN cd "$HOME" && \
9999
done && \
100100
echo "Stage2: xtensa-overlay, crosstool-ng are done!"
101101

102-
ENV PATH="/home/sof/work/xtensa-apl-elf/bin:${PATH}"
103102
ENV PATH="/home/sof/work/xtensa-cnl-elf/bin:${PATH}"
104103
ENV PATH="/home/sof/work/xtensa-rn-elf/bin:${PATH}"
105104
ENV PATH="/home/sof/work/xtensa-rmb-elf/bin:${PATH}"
@@ -113,7 +112,7 @@ ARG NEWLIB_REPO=https://github.com/jcmvbkbc/newlib-xtensa.git
113112
RUN cd "$HOME" && \
114113
git clone $CLONE_DEFAULTS --branch xtensa $NEWLIB_REPO && \
115114
cd newlib-xtensa && \
116-
for arch in apl cnl imx imx8m imx8ulp rn rmb mt8186 mt8195; do \
115+
for arch in cnl imx imx8m imx8ulp rn rmb mt8186 mt8195; do \
117116
./configure --target=xtensa-${arch}-elf \
118117
--prefix=/home/sof/work/xtensa-root && \
119118
make && make install && \

scripts/qemu-check.sh

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright(c) 2018 Intel Corporation. All rights reserved.
44
set -e
55

6-
SUPPORTED_PLATFORMS=(apl icl skl kbl cnl imx8 imx8x imx8m)
6+
SUPPORTED_PLATFORMS=(icl cnl imx8 imx8x imx8m)
77

88
SOF_DIR=$(cd "$(dirname "$0")" && cd .. && pwd)
99

@@ -81,32 +81,6 @@ do
8181

8282
has_rom=false
8383
case "$platform" in
84-
apl)
85-
# This READY_IPC value comes from:
86-
# ipc_write(IPC_DIPCIDR, IPC_DIPCIDR_BUSY | header);
87-
# header = FE_READY = 0x7
88-
# IPC_DIPCIDR_BUSY = BIT(31)
89-
# So "00 00 00 f0" is just "F0000000"
90-
READY_IPC="00 00 00 f0"
91-
SHM_IPC_REG="qemu-bridge-ipc(|-dsp)-io"
92-
OUTBOX_OFFSET="7000"
93-
SHM_MBOX=qemu-bridge-hp-sram-mem
94-
has_rom=true
95-
;;
96-
skl)
97-
READY_IPC="00 00 00 f0"
98-
SHM_IPC_REG="qemu-bridge-ipc(|-dsp)-io"
99-
OUTBOX_OFFSET="7000"
100-
SHM_MBOX=qemu-bridge-hp-sram-mem
101-
has_rom=true
102-
;;
103-
kbl)
104-
READY_IPC="00 00 00 f0"
105-
SHM_IPC_REG="qemu-bridge-ipc(|-dsp)-io"
106-
OUTBOX_OFFSET="7000"
107-
SHM_MBOX=qemu-bridge-hp-sram-mem
108-
has_rom=true
109-
;;
11084
cnl)
11185
READY_IPC="00 00 00 f0"
11286
SHM_IPC_REG="qemu-bridge-ipc(|-dsp)-io"

scripts/scan/clang-scan-build-xtensa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function usage {
1515
echo " [-j n] Set number of make build jobs."
1616
echo " [-v] Verbose output."
1717
echo "Examples:"
18-
echo " $0 -t xt -c apollolake \\"
18+
echo " $0 -t xt -c tigerlake \\"
1919
echo " -r \$CONFIG_PATH/xtensa-elf"
2020
echo " $0 -t xtensa-cnl-elf -c cannonlake \\"
2121
echo " -r \`pwd\`/../xtensa-cnl-elf"

scripts/xtensa-build-all.sh

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SUPPORTED_PLATFORMS+=( mt8188 )
2424
# Not actually "supported" in the main branch anymore (go to stable-v2.3
2525
# instead) but kept here for historical reasons and experimentation
2626
# convenience.
27-
SUPPORTED_PLATFORMS+=( apl skl kbl cnl icl jsl )
27+
SUPPORTED_PLATFORMS+=( cnl icl jsl )
2828

2929
BUILD_ROM=no
3030
BUILD_DEBUG=no
@@ -204,48 +204,6 @@ do
204204
PLATFORM_PRIVATE_KEY=''
205205

206206
case $platform in
207-
apl)
208-
PLATFORM="apollolake"
209-
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
210-
211-
# test APL compiler aliases
212-
if command -v xtensa-bxt-elf-gcc; then
213-
HOST="xtensa-bxt-elf"
214-
else
215-
HOST="xtensa-apl-elf"
216-
fi
217-
218-
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
219-
HAVE_ROM='yes'
220-
;;
221-
skl)
222-
PLATFORM="skylake"
223-
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
224-
225-
# test APL compiler aliases
226-
if command -v xtensa-bxt-elf-gcc; then
227-
HOST="xtensa-bxt-elf"
228-
else
229-
HOST="xtensa-apl-elf"
230-
fi
231-
232-
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
233-
HAVE_ROM='yes'
234-
;;
235-
kbl)
236-
PLATFORM="kabylake"
237-
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
238-
239-
# test APL compiler aliases
240-
if command -v xtensa-bxt-elf-gcc; then
241-
HOST="xtensa-bxt-elf"
242-
else
243-
HOST="xtensa-apl-elf"
244-
fi
245-
246-
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
247-
HAVE_ROM='yes'
248-
;;
249207
cnl)
250208
PLATFORM="cannonlake"
251209
XTENSA_CORE="X6H3CNL_2017_8"

scripts/xtensa-build-zephyr.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@
7272

7373
platform_list = [
7474
# Intel platforms
75-
{
76-
"name": "apl",
77-
"PLAT_CONFIG": "intel_adsp_cavs15",
78-
"XTENSA_CORE": "X4H3I16w2D48w3a_2017_8",
79-
"XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}",
80-
"DEFAULT_TOOLCHAIN_VARIANT": "xcc"
81-
},
8275
{
8376
"name": "cnl",
8477
"PLAT_CONFIG": "intel_adsp_cavs18",

src/arch/xtensa/CMakeLists.txt

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
# platform-specific values
44

5-
if(CONFIG_APOLLOLAKE)
6-
set(platform_folder apollolake)
7-
elseif(CONFIG_CANNONLAKE)
5+
if(CONFIG_CANNONLAKE)
86
set(platform_folder cannonlake)
97
elseif(CONFIG_ICELAKE)
108
set(platform_folder icelake)
@@ -546,10 +544,6 @@ list(APPEND UNSIGNED_RI rn rmb)
546544
# MediaTek
547545
list(APPEND UNSIGNED_RI mt8186 mt8188 mt8195)
548546

549-
# Signed and non-deterministic but sof_ri_info.py is not compatible with
550-
# manifest v1.5? "CSE manifest magic number not found"
551-
set(UNSUPPORTED_RI skl kbl)
552-
553547
if(${fw_name} IN_LIST UNSIGNED_RI) # mere copy
554548
add_custom_command(OUTPUT reproducible.ri
555549
COMMENT "Copying sof.ri to reproducible.ri as is"
@@ -559,13 +553,6 @@ if(${fw_name} IN_LIST UNSIGNED_RI) # mere copy
559553
COMMAND cmake -E copy sof-${fw_name}.ri reproducible.ri
560554
VERBATIM
561555
)
562-
elseif(${fw_name} IN_LIST UNSUPPORTED_RI)
563-
add_custom_command(OUTPUT reproducible.ri
564-
COMMENT "WARNING: sof-${fw_name}.ri is NOT reproducible, reproducible.ri is fake"
565-
DEPENDS glue_binary_files sof-${fw_name}.ri
566-
COMMAND cmake -E touch reproducible.ri
567-
VERBATIM
568-
)
569556
else() # strip variables
570557
add_custom_command(OUTPUT reproducible.ri
571558
COMMENT "Creating reproducible.ri"

src/arch/xtensa/configs/apollolake_defconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)