diff options
| author | GuEe-GUI <[email protected]> | 2026-03-29 21:57:54 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-05-04 18:41:16 +0800 |
| commit | ea13820c2c1f22d3f22b39142c2ee3e0f5172efa (patch) | |
| tree | 88d620f250e9510e3075dc689ec372c5d16d8f54 /components/drivers/ufs/SConscript | |
| parent | c1a43bc0deb17e6579d838dd7400618eb13d618c (diff) | |
[dm][ufs] support Universal Flash Storage (UFS)
Support UFS over PCI, too.
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/ufs/SConscript')
| -rwxr-xr-x | components/drivers/ufs/SConscript | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/drivers/ufs/SConscript b/components/drivers/ufs/SConscript new file mode 100755 index 0000000000..af756a029a --- /dev/null +++ b/components/drivers/ufs/SConscript @@ -0,0 +1,18 @@ +from building import * + +group = [] + +if not GetDepend(['RT_USING_UFS']): + Return('group') + +cwd = GetCurrentDir() +CPPPATH = [cwd + '/../include'] + +src = ['ufs.c', 'ufs_pm.c'] + +if GetDepend(['RT_UFS_PCI']): + src += ['ufs-pci.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
