test/qtest/aspeed_smc-test: Support to test all CE pins
authorJamin Lin <jamin_lin@aspeedtech.com>
Wed, 27 Nov 2024 09:15:36 +0000 (17:15 +0800)
committerCédric Le Goater <clg@redhat.com>
Wed, 11 Dec 2024 06:25:53 +0000 (07:25 +0100)
commitdc32f5baf94e901e570e48d6244897c2418fe63c
tree0824ff91225b5bfbb4b7a7c37f7ad22b7fc98b1d
parent975d4baf686c1bf16daf0277c25cd6f494df0c68
test/qtest/aspeed_smc-test: Support to test all CE pins

Currently, these test cases only support to test CE0. To test all CE pins,
introduces new ce and node members in TestData structure. The ce member is used
for saving the ce index and node member is used for saving the node path,
respectively.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/20241127091543.1243114-4-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
tests/qtest/aspeed_smc-test.c