Fix driver schema json default type requirements

Signed-off-by: Gergely Korcsák <gergely.korcsak@arm.com>
This commit is contained in:
Gergely Korcsák 2024-10-09 13:53:54 +02:00
parent e21e9c33c5
commit a3c2a8f2a2
3 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,3 @@
Bugfix
* Fix invalid JSON schemas for driver descriptions used by
generate_driver_wrappers.py.

View File

@ -11,7 +11,7 @@
}, },
"type": { "type": {
"type": "string", "type": "string",
"const": ["opaque"] "const": "opaque"
}, },
"location": { "location": {
"type": ["integer","string"], "type": ["integer","string"],

View File

@ -11,7 +11,7 @@
}, },
"type": { "type": {
"type": "string", "type": "string",
"const": ["transparent"] "const": "transparent"
}, },
"mbedtls/h_condition": { "mbedtls/h_condition": {
"type": "string" "type": "string"