Add missing EEPROM types
eca1c7d65f7c9cc19a2ee1b81163decebb59db38 Appears to not have included
all supported Types. This is a band-aid to apply while it's being
reworked. devices.hpp includes a set of types that needs to be a
subset of devices in Types.
Tested: Failing configs now pass unit tests.
Change-Id: Idd90160ed12d71b0c64e0364fa2b685fa4957fbf
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 3f2a386..819db95 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -776,7 +776,18 @@
"$ref": "#/$defs/Types/Address"
},
"Type": {
- "const": "EEPROM"
+ "enum": [
+ "EEPROM",
+ "EEPROM_24C01",
+ "EEPROM_24C02",
+ "EEPROM_24C04",
+ "EEPROM_24C08",
+ "EEPROM_24C16",
+ "EEPROM_24C32",
+ "EEPROM_24C64",
+ "EEPROM_24C128",
+ "EEPROM_24C256"
+ ]
}
},
"required": ["Name", "Type", "Bus", "Address"],