|
@@ -56,7 +56,11 @@ int __init early_init_dt_scan_opal(unsigned long node,
|
|
|
opal.entry, entryp, entrysz);
|
|
|
|
|
|
powerpc_firmware_features |= FW_FEATURE_OPAL;
|
|
|
- if (of_flat_dt_is_compatible(node, "ibm,opal-v2")) {
|
|
|
+ if (of_flat_dt_is_compatible(node, "ibm,opal-v3")) {
|
|
|
+ powerpc_firmware_features |= FW_FEATURE_OPALv2;
|
|
|
+ powerpc_firmware_features |= FW_FEATURE_OPALv3;
|
|
|
+ printk("OPAL V3 detected !\n");
|
|
|
+ } else if (of_flat_dt_is_compatible(node, "ibm,opal-v2")) {
|
|
|
powerpc_firmware_features |= FW_FEATURE_OPALv2;
|
|
|
printk("OPAL V2 detected !\n");
|
|
|
} else {
|