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

scripts: list_hardware: Find all SoCs before checking runner configs #75601

Merged
merged 1 commit into from
Jul 10, 2024

Commits on Jul 8, 2024

  1. scripts: list_hardware: Find all SoCs before checking runner configs

    When validating the flash runner configurations in `soc.yml`, the only
    SoCs that were considered had to be defined under this structure:
    
       family:
         - series:
             - socs:
                 - name: ...
    
    However, the `family` and `series` keys are optional, so the `soc.yml`
    files can also be arranged like this:
    
       family:
         - socs:
             - name: ...
       series:
         - socs:
             - name: ...
       socs:
         - name: ...
    
    The solution is to move the validation code further down, so that it can
    reuse the SoC data that was already correctly parsed while initializing
    a `Systems` instance.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    57300 committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    b7ae4c2 View commit details
    Browse the repository at this point in the history