From: Javier Martinez Canillas <javierm@redhat.com>
To: u-boot@lists.denx.de
Cc: eballetb@redhat.com, alexl@redhat.com,
Javier Martinez Canillas <javierm@redhat.com>,
Tom Rini <trini@konsulko.com>
Subject: [PATCH 1/5] disk: part_dos: Move header to the main include directory
Date: Tue, 20 Jan 2026 14:36:10 +0100 [thread overview]
Message-ID: <20260120133630.1695055-2-javierm@redhat.com> (raw)
In-Reply-To: <20260120133630.1695055-1-javierm@redhat.com>
There are two different struct definitions for MBR partition table
entries: one in part_dos.h and a nearly identical one in part_efi.h.
To enable future consolidation of these two structures, move part_dos.h
to the main include directory. This makes it accessible from other parts
of the codebase, such as part_efi.h, and is the first step toward removing
the redundant definition.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---
disk/part_dos.c | 2 +-
{disk => include}/part_dos.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename {disk => include}/part_dos.h (100%)
diff --git a/disk/part_dos.c b/disk/part_dos.c
index 18dd35c9b98e..2545cc6bf5d2 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -19,7 +19,7 @@
#include <vsprintf.h>
#include <asm/unaligned.h>
#include <linux/compiler.h>
-#include "part_dos.h"
+#include <part_dos.h>
#include <part.h>
#define DOS_PART_DEFAULT_SECTOR 512
diff --git a/disk/part_dos.h b/include/part_dos.h
similarity index 100%
rename from disk/part_dos.h
rename to include/part_dos.h
--
2.52.0
next prev parent reply other threads:[~2026-01-20 13:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 13:36 [PATCH 0/5] efi_loader: disk: Add EFI_PARTITION_INFO_PROTOCOL support for MBR Javier Martinez Canillas
2026-01-20 13:36 ` Javier Martinez Canillas [this message]
2026-01-20 14:34 ` [PATCH 1/5] disk: part_dos: Move header to the main include directory Tom Rini
2026-01-20 13:36 ` [PATCH 2/5] disk: part_dos: Align dos_partition_t with struct partition Javier Martinez Canillas
2026-01-20 14:35 ` Tom Rini
2026-01-20 13:36 ` [PATCH 3/5] disk: part_efi: Remove redundant struct partition definition Javier Martinez Canillas
2026-01-20 14:37 ` Tom Rini
2026-01-20 13:36 ` [PATCH 4/5] efi_loader: disk: Extend EFI_PARTITION_INFO_PROTOCOL to support MBR Javier Martinez Canillas
2026-01-20 14:53 ` Heinrich Schuchardt
2026-01-21 9:25 ` Javier Martinez Canillas
2026-01-20 17:39 ` Jan Kiszka
2026-01-21 9:28 ` Javier Martinez Canillas
2026-01-22 8:54 ` Jan Kiszka
2026-01-20 13:36 ` [PATCH 5/5] efi_selftest: Enhance MBR test for PARTITION_INFO_PROTOCOL Javier Martinez Canillas
2026-01-20 14:56 ` Heinrich Schuchardt
2026-01-21 9:28 ` Javier Martinez Canillas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260120133630.1695055-2-javierm@redhat.com \
--to=javierm@redhat.com \
--cc=alexl@redhat.com \
--cc=eballetb@redhat.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox