File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
tests/drivers/disk/disk_access Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 28
28
#define DISK_NAME_PHYS "NAND"
29
29
#elif defined(CONFIG_NVME )
30
30
#define DISK_NAME_PHYS "nvme0n0"
31
+ #elif defined(CONFIG_DISK_DRIVER_UFS )
32
+ #define DISK_NAME_PHYS "UFS"
31
33
#elif defined(CONFIG_DISK_DRIVER_RAM )
32
34
/* Since ramdisk is enabled by default on e.g. qemu boards, it needs to be checked last to not
33
35
* override other backends.
43
45
#define DISK_NAME DISK_NAME_PHYS
44
46
#endif
45
47
46
- /* Assume the largest sector we will encounter is 512 bytes */
47
- #define SECTOR_SIZE 512
48
+ /* Assume the largest sector we will encounter is 4096 bytes */
49
+ #define SECTOR_SIZE 4096
48
50
49
51
/* Sector counts to read */
50
52
#define SECTOR_COUNT1 8
Original file line number Diff line number Diff line change 45
45
platform_allow :
46
46
- native_sim/native/64
47
47
- native_sim
48
+ drivers.disk.ufs :
49
+ filter : dt_compat_enabled("zephyr,ufs-disk")
You can’t perform that action at this time.
0 commit comments