|
@@ -36,6 +36,9 @@ int tpm_read_log_of(struct tpm_chip *chip)
|
|
|
else
|
|
|
return -ENODEV;
|
|
|
|
|
|
+ if (of_property_read_bool(np, "powered-while-suspended"))
|
|
|
+ chip->flags |= TPM_CHIP_FLAG_ALWAYS_POWERED;
|
|
|
+
|
|
|
sizep = of_get_property(np, "linux,sml-size", NULL);
|
|
|
basep = of_get_property(np, "linux,sml-base", NULL);
|
|
|
if (sizep == NULL && basep == NULL)
|