cpld: lattice: add XO3D-9400 series support to supportedDeviceMap
Add LatticeLCMXO3D_9400Firmware with Device ID {0x21, 0x2e, 0x30, 0x43}
Tested on santabarbara SCM cpld:
'''
1. verified device ID matches actual chip on hardware
<7> Santabarbara_SCM_CPLD_6045: created dbus interfaces on path /xyz/openbmc_project/software/Santabarbara_SCM_CPLD_6045
<7> starting the async update with memfd 10
<7> open fd 10
<7> file size: 2100958
<7> parsing package header
<7> parsing package, pkg header size: 173
<7> Santabarbara_SCM_CPLD_6045: set version 00000002
<6> Updating Lattice CPLD firmware
<7> Device ID match with chip. Chip name: LCMXO3D-9400
<3> NOTE DEVICE NAME: LCMXO3D-9400HC-5CABGA256*
<7> [OK] The image device name match with chip name
'''
Change-Id: I21d4b0b031542079d2f646591021666378c19157
Signed-off-by: Fred Chen <Fred.Chen@quantatw.com>
diff --git a/cpld/lattice/lattice.hpp b/cpld/lattice/lattice.hpp
index b585eb8..3c06461 100644
--- a/cpld/lattice/lattice.hpp
+++ b/cpld/lattice/lattice.hpp
@@ -13,6 +13,7 @@
};
const std::map<std::string, cpldInfo> supportedDeviceMap = {
+ {"LatticeLCMXO3D_9400Firmware", {"LCMXO3D-9400", {0x21, 0x2e, 0x30, 0x43}}},
{"LatticeLCMXO3LF_2100CFirmware",
{"LCMXO3LF-2100C", {0x61, 0x2b, 0xb0, 0x43}}},
{"LatticeLCMXO3LF_4300CFirmware",