summaryrefslogtreecommitdiff
path: root/meta-nuvoton
diff options
context:
space:
mode:
authorTim Lee <timlee660101@gmail.com>2023-10-24 09:35:46 +0300
committerTim Lee <chli30@nuvoton.com>2023-11-07 03:53:29 +0300
commit892b2a87a4f52e4f2c9f732903da733fa7f623b1 (patch)
tree81d581c2f259b470b731a0b88459204476d8d672 /meta-nuvoton
parent28bd3e5b7c855ad76418d839a155e88b54ab5289 (diff)
downloadopenbmc-892b2a87a4f52e4f2c9f732903da733fa7f623b1.tar.xz
meta-nuvoton: ipmi: change PCI device-id for NPCM8xx
There are two kinds of PCI device-id for NPCM7xx and NPCM8xx respectively. For NPCM7xx the device-id is using 0x0750 and NPCM8xx is using 0x0850. Thus, change this PCI device-id for supporting NPCM8xx platform. Use this variable that can help to build host tool burn_my_bmc compatible with different platforms and make in-band firmware update work well. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I8a23699eab879d3b2620ee47fa9fe46a1e5ef524
Diffstat (limited to 'meta-nuvoton')
-rw-r--r--meta-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend b/meta-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend
new file mode 100644
index 0000000000..2fd550bd69
--- /dev/null
+++ b/meta-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend
@@ -0,0 +1,3 @@
+# NPCM8xx is using 0x0850 as PCI device-id.
+NUVOTON_PCI_DID = "2128"
+EXTRA_OEMESON:append:npcm8xx = " -Dnuvoton-pci-did=${NUVOTON_PCI_DID}"