fpga: m10bmc-sec: d5005 bmc secure update driver
authorRuss Weight <russell.h.weight@intel.com>
Fri, 2 Sep 2022 16:57:06 +0000 (09:57 -0700)
committerXu Yilun <yilun.xu@intel.com>
Sun, 11 Sep 2022 07:36:35 +0000 (15:36 +0800)
Add a driver name for the D5005 BMC secure update driver. Different
driver names are used for the N3000 and D5005 devices because future
changes will add conditional code based on the device type (N3000
vs D5005). This change enables D5005 secure updates of BCM images,
BMC firmware, static-region images, etc.

Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20220902165706.518074-3-russell.h.weight@intel.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
drivers/fpga/intel-m10-bmc-sec-update.c

index 72c677c..526c8cd 100644 (file)
@@ -605,6 +605,9 @@ static const struct platform_device_id intel_m10bmc_sec_ids[] = {
        {
                .name = "n3000bmc-sec-update",
        },
+       {
+               .name = "d5005bmc-sec-update",
+       },
        { }
 };
 MODULE_DEVICE_TABLE(platform, intel_m10bmc_sec_ids);