Skip to content

Commit

Permalink
reports: dasharo-hcl-report: remove board_config call
Browse files Browse the repository at this point in the history
Running HCL on platforms that are not listed in board_config ends on
exiting the script. Calling that function was added while working on APU
support, as there is multiple flash chip detected when try to use
flashrom on that platform so chip name definition was added to specific
platform in board_config.

There is no need for that as check_flash_chip function check one by one
known chips from the list defined as FLASH_CHIP_LIST (in dts_environment)
and uses one, that does not return error when flashrom is invoked.

Later in HCL we uses check_intel_regions func which needs
PROGRAMMER_BIOS variable but this is by default defined in
dts_enviroment as `internal` so in HCL we can assume to use this
programmer for every platform.

Signed-off-by: Tomasz Żyjewski <[email protected]>
  • Loading branch information
TomaszAIR committed Apr 18, 2024
1 parent 6718d85 commit 9b93679
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion reports/dasharo-hcl-report
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ fi

FULL_UPLOAD_URL="https://cloud.3mdeb.com/index.php/s/"${CLOUDSEND_LOGS_URL}

board_config
check_flash_chip

mkdir logs
Expand Down

0 comments on commit 9b93679

Please sign in to comment.