mbox series

[v3,00/10] Add smc qtest testcase to support AST2700

Message ID 20241127091543.1243114-1-jamin_lin@aspeedtech.com (mailing list archive)
Headers show
Series Add smc qtest testcase to support AST2700 | expand

Message

Jamin Lin Nov. 27, 2024, 9:15 a.m. UTC
change from v1:
 1. Fix write incorrect data into flash in user mode.
 2. Refactor aspeed smc qtest testcases to support AST2600, AST2500 and
AST1030.
 3. Add ast2700 smc qtest testcase to support AST2700.

change from v2:
1. Introduce a new aspeed-smc-utils.c to place common testcases.
2. Fix hardcode attach flash model of spi controllers
3. Add reviewers suggestion and fix review issue.

change from v3:
1. replace the TestData type name with AspeedSMCTestData
2. add an 'aspeed_smc' prefix in the name of aspeed smc test routine functions

Jamin Lin (10):
  test/qtest/aspeed_smc-test: Move testcases to test_palmetto_bmc
    function
  test/qtest/aspeed_smc-test: Introduce a new TestData to test different
    BMC SOCs
  test/qtest/aspeed_smc-test: Support to test all CE pins
  test/qtest/aspeed_smc-test: Introducing a "page_addr" data field
  test/qtest/aspeed_smc-test: Support to test AST2500
  test/qtest/aspeed_smc-test: Support to test AST2600
  test/qtest/aspeed_smc-test: Support to test AST1030
  test/qtest/aspeed_smc-test: Support write page command with QPI mode
  test/qtest: Introduce a new aspeed-smc-utils.c to place common
    testcases
  test/qtest/ast2700-smc-test: Support to test AST2700

 tests/qtest/aspeed-smc-utils.c | 686 +++++++++++++++++++++++++++++
 tests/qtest/aspeed-smc-utils.h |  95 ++++
 tests/qtest/aspeed_smc-test.c  | 775 ++++++++-------------------------
 tests/qtest/ast2700-smc-test.c |  71 +++
 tests/qtest/meson.build        |   5 +-
 5 files changed, 1034 insertions(+), 598 deletions(-)
 create mode 100644 tests/qtest/aspeed-smc-utils.c
 create mode 100644 tests/qtest/aspeed-smc-utils.h
 create mode 100644 tests/qtest/ast2700-smc-test.c