Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2df121a6 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs: don't try adding boot and rpmb lun if not supported



UFS devices can support upto 4 well known logical units: "REPORT_LUNS",
"UFS Device", "RPMB" & "BOOT".

"REPORT_LUNS" & "UFS Device" are mandatory for all device classes
("bDeviceSubClass" parameter of device descriptor) while "BOOT" is
supported only for bootable devices. "RPMB" is only supported with
embedded devices.

This function tries to add scsi device instances for each of all well
known LUs (except "REPORT LUNS" LU) if it is advertised to be supported
by device class.

Change-Id: Iec26abba64be4bf790e3d19e4335ed820494b646
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 344c16c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment