blob: 4e4ae17216b4fd91f6b6aee967fc65f6927a4ec9 [file] [log] [blame]
Andrew Geissler2daf84b2023-03-31 09:57:23 -05001From 37b3c73d9307d1de3b78e3ccba0ba6ba0867d6b8 Mon Sep 17 00:00:00 2001
2From: Rui Miguel Silva <rui.silva@linaro.org>
3Date: Thu, 23 Feb 2023 10:32:04 +0000
4Subject: [PATCH 41/43] nvmxip: move header to include
5
6Move header to include to allow external code
7to get the internal bdev structures to access
8block device operations.
9
10as at it, just add the UCLASS_NVMXIP string
11so we get the correct output in partitions
12listing.
13
14Upstream-Status: Pending
15Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
16---
17 disk/part.c | 3 +++
18 {drivers/nvmxip => include}/nvmxip.h | 0
19 2 files changed, 3 insertions(+)
20 rename {drivers/nvmxip => include}/nvmxip.h (100%)
21
22diff --git a/disk/part.c b/disk/part.c
23index 5ee60a7fb591..593dd0004fa4 100644
24--- a/disk/part.c
25+++ b/disk/part.c
26@@ -270,6 +270,9 @@ static void print_part_header(const char *type, struct blk_desc *dev_desc)
27 case UCLASS_NVME:
28 puts ("NVMe");
29 break;
30+ case UCLASS_NVMXIP:
31+ puts ("NVMXIP");
32+ break;
33 case UCLASS_PVBLOCK:
34 puts("PV BLOCK");
35 break;
36diff --git a/drivers/nvmxip/nvmxip.h b/include/nvmxip.h
37similarity index 100%
38rename from drivers/nvmxip/nvmxip.h
39rename to include/nvmxip.h
40--
412.39.2
42