linux: Add blk_types.h with blk_opf_t

Add a minimal blk_types.h header with blk_opf_t type definition,
matching the Linux kernel header location.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-12-21 12:45:45 -07:00
parent 15786a4f53
commit 4c8e3c7b2a

18
include/linux/blk_types.h Normal file
View File

@@ -0,0 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Block I/O types
*
* Copyright 2025 Canonical Ltd
* Written by Simon Glass <simon.glass@canonical.com>
*
* Minimal version for U-Boot - based on Linux
*/
#ifndef _LINUX_BLK_TYPES_H
#define _LINUX_BLK_TYPES_H
#include <linux/types.h>
/* Block I/O operation flags */
typedef __u32 __bitwise blk_opf_t;
#endif /* _LINUX_BLK_TYPES_H */