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

Cleanup cache initialization #66524

Merged

Commits on Jan 9, 2024

  1. soc: arm: use sys_cache* for enabling the caches in nxp_s32

    Use sys_cache* for enabling the caches in nxp_s32. This automatically
    considers CONFIG_CACHE_MANAGEMENT and will activate the
    cases only if this is active.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    447a492 View commit details
    Browse the repository at this point in the history
  2. soc: arm: replace redundant config option for caches for nxp_imx

    Replace the redundant cache config options for the nxp_imx and
    use sys_cache* functions to enable the caches. These will automatically
    consider CONFIG_CACHE_MANAGEMENT.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    e630d35 View commit details
    Browse the repository at this point in the history
  3. soc: arm: remove redundant cache config options for kv5x

    Remove the redundant cache config options for kv5x and use
    the sys_cache* functions to enable the caches. This will automatically
    consider CONFIG_CACHE_MANAGEMENT.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    219fc7b View commit details
    Browse the repository at this point in the history
  4. arch: arc: use sys_cache instead of arch-function for enabling the cache

    Use sys_cache_data_enable instead of arch_dcache_enable to enable
    the cache. This will ensure that CONFIG_CACHE_MANAGEMENT
    is considered correctly.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    ef42286 View commit details
    Browse the repository at this point in the history
  5. soc: arm: use sys_cache* for enabling the caches on same70 and samv71

    Use the sys_cache* functions to enable the caches on same70 and
    samv71. This will ensure that CONFIG_CACHE_MANAGEMENT is
    considered correctly.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    d3685ac View commit details
    Browse the repository at this point in the history
  6. soc: arm: use sys_cache* to enable caches for stm32f7 and stm32h7

    Use sys_cache* functions to enable the caches for stm32f7 and
    stm32h7. This ensures that CONFIG_CACHE_MANAGEMENT is
    considered correctly.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    0be85a8 View commit details
    Browse the repository at this point in the history
  7. arch: arm: core: cortex_m: fix cache disabling in init_arch_hw_at_boot

    Use the arch-cache functions instead of the sys-cache-functions
    in z_arm_init_arch_hw_at_boot to ensure that the caches are
    disabled even when CONFIG_CACHE_MANAGEMENT is disabled.
    
    Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
    benediktibk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    0b7075a View commit details
    Browse the repository at this point in the history