Shell
b73396681a
[bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS ( #9142 )
...
* [bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS
This patch ports the codebase to use the RT_USING_DEVICE_OPS structure,
which is required by v5.1.0 Smart kernel, improves modularity and makes
it easier to manage device operations by consolidating them into a
single structure, enhancing maintainability and future scalability.
Changes:
- Added RT_USING_DEVICE_OPS conditionals to partition.c and drv_sdmmc.c.
- Defined rt_device_ops structures for partition and sdmmc drivers.
- Updated device initialization to use the ops structure if defined.
- Replaced direct function calls with rt_dev_control, rt_dev_read, and
rt_dev_write macros where applicable.
- Removed redundant us_delay function from os.c.
Signed-off-by: Shell <smokewood@qq.com>
* feat: update configuration
* feat: fixup compiler warning
---------
Signed-off-by: Shell <smokewood@qq.com>
2024-07-09 13:35:03 +08:00
..
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-07-09 13:35:03 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-07-08 22:09:35 +08:00
2024-06-20 14:40:42 +08:00
2023-07-22 10:36:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-28 23:41:31 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-30 08:01:51 +08:00
2024-06-20 14:40:42 +08:00
2024-07-08 22:06:53 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2023-03-23 01:55:21 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2023-04-22 19:22:19 +01:00
2024-07-08 22:06:53 +08:00
2024-06-20 14:40:42 +08:00
2024-07-07 22:24:09 +08:00
2024-06-26 14:36:49 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-30 22:30:15 +08:00
2024-06-20 21:42:11 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2023-03-20 00:06:16 -04:00
2024-06-20 14:40:42 +08:00
2023-03-20 00:06:16 -04:00
2023-07-09 00:19:29 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-07-04 00:33:06 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2023-04-04 09:06:27 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-04-21 01:18:37 -04:00
2023-11-20 07:34:46 -05:00