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>
This commit is contained in:
@@ -659,6 +659,12 @@ static int fwu_boottime_checks(void *ctx, struct event *event)
|
||||
struct udevice *dev;
|
||||
struct fwu_mdata mdata = { 0 };
|
||||
|
||||
/* Don't have boot time checks on sandbox */
|
||||
if (IS_ENABLED(CONFIG_SANDBOX)) {
|
||||
boottime_check = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = fwu_check_mdata_validity();
|
||||
if (ret)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user