fpga: dfl: support d5005 secure updates
Subsystems (4)
cover fpga: dfl: support d5005 secure updates
The MAX10 secure update driver currently supports only the N3000. With these two patches secure updates are also supported for the D5005. A different driver name is used for the D5005 vs the N3000 to facilitate future conditional code that is based on device type.
Russ Weight (2):
mfd: intel-m10-bmc: add d5005 bmc secure update driver
fpga: m10bmc-sec: d5005 bmc secure update driver
drivers/fpga/intel-m10-bmc-sec-update.c | 3 +++ drivers/mfd/intel-m10-bmc.c | 1 + 2 files changed, 4 insertions(+)
Signature · 1 line
2.25.1
PATCH 1/2 mfd: intel-m10-bmc: add d5005 bmc secure update driver
Add the D5005 BMC secure update driver to the MAX10 BMC driver for D5005 devices.
--- drivers/mfd/intel-m10-bmc.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/intel-m10-bmc.c +1 -0
@@ -21,6 +21,7 @@ enum m10bmc_type {static struct mfd_cell m10bmc_d5005_subdevs[] = { { .name ="d5005bmc-hwmon" }, + { .name ="d5005bmc-sec-update" } };static struct mfd_cell m10bmc_pacn3000_subdevs[] = {
Signature · 1 line
2.25.1
Re: [PATCH v1 1/2] mfd: intel-m10-bmc: add d5005 bmc secure update driver
Quoted 7 lines · Russ Weight
Add the D5005 BMC secure update driver to the MAX10 BMC driver for D5005 devices.
Signed-off-by Russ Weight <[email protected]>--- drivers/mfd/intel-m10-bmc.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Signature · 1 line
Lee Jones [李琼斯]
PATCH 2/2 fpga: m10bmc-sec: d5005 bmc secure update driver
In reply to Russ WeightAdd 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.
--- drivers/fpga/intel-m10-bmc-sec-update.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/fpga/intel-m10-bmc-sec-update.c +3 -0
@@ -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);
Signature · 1 line
2.25.1
Re: [PATCH v1 2/2] fpga: m10bmc-sec: d5005 bmc secure update driver
Quoted 16 lines · Russ Weight
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 <[email protected]>--- drivers/fpga/intel-m10-bmc-sec-update.c | 3 +++ 1 file changed, 3 insertions(+)drivers/fpga/intel-m10-bmc-sec-update.c +0
-0
drivers/fpga/intel-m10-bmc-sec-update.c static const struct platform_device_id intel_m10bmc_sec_ids[] = { · line 613
Quoted 9 lines
drivers/fpga/intel-m10-bmc-sec-update.c +3
-0@@ -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);
Applied to for-next.
Thanks,
Yilun
Quoted 3 lines
Signature · 1 line
2.25.1