Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scmi/fix scp compilation #6769

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Apr 18, 2024

  1. core/scmi: fix C files list

    SCP firmware has split some C files and reorganized its code
    
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    vingu-linaro committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    8d8e664 View commit details
    Browse the repository at this point in the history
  2. core/scmi: sync with SCP-firmware code reorg

    SCP-firmare has reorganized its modules. Update and sync the make files
    with new code layout
    
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    vingu-linaro committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    f32ef2b View commit details
    Browse the repository at this point in the history
  3. core/scmi: export sub.mk files in SCP-firmware

    In order to ease the update of makefile when C or Header files of
    SCP-firmware project changes, we integrate them in the optee subdirectory
    of SCP-firmware.
    
    sub-optee-fvp.mk and sub-optee-stm32mp1.mk are moved unchanged in their
    product directories of SCP-repository.
    
    scmi-server/sub.mk is split:
    - macro and compilation flags stay in optee-os
    - srcs and incdirs are moved in product/optee directory
    
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    vingu-linaro committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    4539aca View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. core/scmi: remove optee prefix to SCP product name

    Now that all modules and products related to optee are located in the
    product/optee directory in the SCP-firmware repository, adding an "optee-"
    prefix in the product name is useless. Remove it.
    
    Suggested-by: Etienne Carriere <etienne.carriere@foss.st.com>
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    vingu-linaro committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    d599c0c View commit details
    Browse the repository at this point in the history
  2. plat-stm32mp1: fix SCP-firmware config when using OP-TEE share memory

    Enable the required SCP-firmware module when using OP-TEE shared memory
    or a piece of SRAM for SCMI communication which defined by the boolean
    configuration switch CFG_STM32MP1_SCMI_SHM_SYSRAM.
    
    Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
    etienne-lms authored and vingu-linaro committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    37b2b01 View commit details
    Browse the repository at this point in the history
  3. ci: temporary point to right SCP branch

    Temporary point to the MR branch of SCP
    
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    vingu-linaro committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    2ab1666 View commit details
    Browse the repository at this point in the history
  4. core: lib: scmi-server: add CMake defines for embedded modules

    Enable CMake directive CMAKE_C_COMPILER_WORKS to prevent SCP-firmware
    CMake configuration sequence to check the cross compilation toolchain
    since it is not needed here: OP-TEE only uses CMake to configure
    SCP-firmware, not to build source files. This change is required when
    building OP-TEE with CFG_SCMI_SCPFW=y and using a CMake >= 3.27.0.
    
    Suggested-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
    Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
    [Fix the overwrite of others CMake options]
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    etienne-lms authored and vingu-linaro committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    29b6a77 View commit details
    Browse the repository at this point in the history
  5. drivers: include standard header files from stpmic1_regulator.h

    Add missing inclusion of stdbool.h and stddef.h in stpmic1_regulator.h.
    The issue was revealed when upgrading to latest SCP-firmware source tree.
    
    Fixes: 9cb0d51 ("drivers: stpmic1: export regulators API in a specific header file")
    Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
    etienne-lms authored and vingu-linaro committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    bdc4ffb View commit details
    Browse the repository at this point in the history