b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | /* |
2 | * hai_dev.h | ||||
3 | * | ||||
4 | * Hardware Abstraction Interface descriptor definition for block device. | ||||
5 | * interface. | ||||
6 | * | ||||
7 | * Copyright (C) 2008 MARVELL Corporation (antone@marvell.com) | ||||
8 | * | ||||
9 | * SPDX-License-Identifier: GPL-2.0+ | ||||
10 | */ | ||||
11 | #ifndef _HAI_DEV_H | ||||
12 | #define _HAI_DEV_H | ||||
13 | |||||
14 | #include <common.h> | ||||
15 | struct tdev_t { | ||||
16 | block_dev_desc_t *dev_desc; | ||||
17 | unsigned long part_offset; | ||||
18 | unsigned sector_size; | ||||
19 | }; | ||||
20 | |||||
21 | |||||
22 | #endif |