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

Sync code from npcm-v2.6 #90

Merged
merged 4 commits into from
Apr 11, 2024
Merged

Commits on Apr 11, 2024

  1. soc: arm: npcm4xx: change to use static definition to config crgpio

    when enable CONFIG_XIP, global variables copy from rom to ram after
    z_data_copy() be called.
    
    change to use static definition to config crgpio.
    
    Signed-off-by: cpchiang <[email protected]>
    cpchiang committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    1c77ac0 View commit details
    Browse the repository at this point in the history
  2. soc: arm: npcm4xx: script: remove invalid environment setting

    remove invalid environment setting.
    
    color command only available in windows environment.
    
    Signed-off-by: cpchiang <[email protected]>
    cpchiang committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    107d358 View commit details
    Browse the repository at this point in the history
  3. arch: arm: mpu: Make XN bit conditional on CONFIG_XIP for RAM region

    Make the execute never (XN) bit conditonal on CONFIG_XIP for the RAM MPU
    region attribute. This is required because when CONFIG_XIP is not set,
    the entire image will be linked into SRAM. In this case, SRAM must be
    executable.
    
    Signed-off-by: Daniel DeGrasse <[email protected]>
    cpchiang committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    b2d075a View commit details
    Browse the repository at this point in the history
  4. soc: arm: npcm4xx: support MPU feature

    support MPU feature.
    
    1. move copy sram vector table before config MPU.
    2. place sram vector table to SECTIONS link.
    3. add MPU range for sram vector table that used when program
       spim flash.
    
    Signed-off-by: cpchiang <[email protected]>
    cpchiang committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    25294ce View commit details
    Browse the repository at this point in the history