drivers: add ufs stack
If UFS device is initialized, we could just make it out of
hibernation by UFS_FLAGS_SKIPINIT. And vendor's dirver is always
focus on PHY setting. We could use UFS driver directly if it
exits from hibernation.

There're eight LUNs in UFS device. The UFS driver only provides
the read/write API with LUN. User could define his own read/write
since user may want to access different LUNs.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
1 parent 562aef8 commit eb5073f49ee47bcb5079f7d9cf7b047c7d81bb20
@Haojian Zhuang Haojian Zhuang authored on 30 May 2017
Showing 2 changed files
View
drivers/ufs/ufs.c 0 → 100644
View
include/drivers/ufs.h 0 → 100644