diff options
author | Sughosh Ganu | 2022-10-21 18:16:05 +0530 |
---|---|---|
committer | Tom Rini | 2022-10-31 14:47:33 -0400 |
commit | 873cf8ac70b620a0c1417d804bd4fb4246c34ebc (patch) | |
tree | 5381872ddd9dd0f56887cbd4d96e036f84651c7e /board/sandbox | |
parent | e68c03be46ce9bf409a2a9ad761a247d8640c89a (diff) |
test: dm: Add test cases for FWU Metadata uclass
Add test cases for accessing the FWU Metadata on the sandbox
platform. The sandbox platform also uses the metadata access driver
for GPT partitioned block devices.
The FWU feature will be tested on the sandbox64 variant with a raw
capsule. Remove the FIT capsule testing from sandbox64 defconfig --
the FIT capsule test will be run on the sandbox_flattree variant.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'board/sandbox')
-rw-r--r-- | board/sandbox/sandbox.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c index 38cfa0832d7..4d89f9be1cd 100644 --- a/board/sandbox/sandbox.c +++ b/board/sandbox/sandbox.c @@ -164,3 +164,11 @@ int init_addr_map(void) return 0; } + +#if defined(CONFIG_FWU_MULTI_BANK_UPDATE) +void fwu_plat_get_bootidx(uint *boot_idx) +{ + /* Dummy value */ + *boot_idx = 0; +} +#endif |