[PATCH 06/10] test: dm: simplify SCMI unit test on sandbox

Simon Glass sjg at chromium.org
Thu Jun 29 21:09:57 CEST 2023


On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> Adding SCMI base protocol makes it inconvenient to hold the agent instance
> (udevice) locally since the agent device will be re-created per each test.
> Just remove it and simply the test flows.
> The test scenario is not changed at all.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  arch/sandbox/include/asm/scmi_test.h       |  7 ++-
>  drivers/firmware/scmi/sandbox-scmi_agent.c | 20 +------
>  drivers/firmware/scmi/scmi_agent-uclass.c  | 14 -----
>  test/dm/scmi.c                             | 64 +++++++---------------
>  4 files changed, 26 insertions(+), 79 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list