Andrew Geissler | 2daf84b | 2023-03-31 09:57:23 -0500 | [diff] [blame^] | 1 | From 37b3c73d9307d1de3b78e3ccba0ba6ba0867d6b8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Rui Miguel Silva <rui.silva@linaro.org> |
| 3 | Date: Thu, 23 Feb 2023 10:32:04 +0000 |
| 4 | Subject: [PATCH 41/43] nvmxip: move header to include |
| 5 | |
| 6 | Move header to include to allow external code |
| 7 | to get the internal bdev structures to access |
| 8 | block device operations. |
| 9 | |
| 10 | as at it, just add the UCLASS_NVMXIP string |
| 11 | so we get the correct output in partitions |
| 12 | listing. |
| 13 | |
| 14 | Upstream-Status: Pending |
| 15 | Signed-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 | |
| 22 | diff --git a/disk/part.c b/disk/part.c |
| 23 | index 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; |
| 36 | diff --git a/drivers/nvmxip/nvmxip.h b/include/nvmxip.h |
| 37 | similarity index 100% |
| 38 | rename from drivers/nvmxip/nvmxip.h |
| 39 | rename to include/nvmxip.h |
| 40 | -- |
| 41 | 2.39.2 |
| 42 | |