From 952018117ab4daff5fb4500d5ce0143678473ca4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 29 Oct 2022 19:47:17 -0600 Subject: dm: sandbox: Switch over to using the new host uclass Update the sandbox implementation to use UCLASS_HOST and adjust all the pieces to continue to work: - Update the 'host' command to use the new API - Replace various uses of UCLASS_ROOT with UCLASS_HOST - Disable test_eficonfig since it doesn't work (this should have a unit test to allow this to be debugged) - Update the blk test to use the new API - Drop the old header file Unfortunately it does not seem to be possible to split this change up further. Signed-off-by: Simon Glass --- disk/part.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'disk') diff --git a/disk/part.c b/disk/part.c index f982b30f972..2eb30ebe971 100644 --- a/disk/part.c +++ b/disk/part.c @@ -139,7 +139,7 @@ void dev_print(struct blk_desc *dev_desc) case UCLASS_USB: case UCLASS_NVME: case UCLASS_PVBLOCK: - case UCLASS_ROOT: + case UCLASS_HOST: printf ("Vendor: %s Rev: %s Prod: %s\n", dev_desc->vendor, dev_desc->revision, @@ -264,7 +264,7 @@ static void print_part_header(const char *type, struct blk_desc *dev_desc) case UCLASS_MMC: puts ("MMC"); break; - case UCLASS_ROOT: + case UCLASS_HOST: puts ("HOST"); break; case UCLASS_NVME: -- cgit v1.3.1