cmhw: UniqueDeviceId: don't generate hardware IDs from SD card CIDs

On devices without internal MMC storage (ex. those with UFS), an
SD card may appear at mmcblk0. Since SD is removable, it's not a
good candidate for generating a hardware ID.

Ignore mmcblk0 for the purposes of ID generation if its type is
not "MMC". This will cause "SD", "SDIO", and "SDCombo" device
types to be ignored.

Issue-Id: MC-893
Change-Id: I5b87cba0b14c739ecebfe6e52f5822ba8fc63070
1 file changed
tree: 326951f95a49e1ac2c48dc8afca974a6b8678a39
  1. cmhw/
  2. lights/