firmware: Add 13.5b4 and 13.5 versions

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2023-07-19 13:12:00 +09:00
parent 538693a05a
commit dfecc20114
3 changed files with 7 additions and 0 deletions

View file

@ -27,6 +27,8 @@ const struct fw_version_info fw_versions[NUM_FW_VERSIONS] = {
[V13_1] = {V13_1, "13.1", {13, 1, 0}, 3, "iBoot-8419.60.44"}, [V13_1] = {V13_1, "13.1", {13, 1, 0}, 3, "iBoot-8419.60.44"},
[V13_2] = {V13_2, "13.2", {13, 2, 0}, 3, "iBoot-8419.80.7"}, [V13_2] = {V13_2, "13.2", {13, 2, 0}, 3, "iBoot-8419.80.7"},
[V13_3] = {V13_3, "13.3", {13, 3, 0}, 3, "iBoot-8422.100.650"}, [V13_3] = {V13_3, "13.3", {13, 3, 0}, 3, "iBoot-8422.100.650"},
[V13_5B4] = {V13_5B4, "13.5 beta4", {13, 4, 99, 4}, 4, "iBoot-8422.140.50.0.2"},
[V13_5] = {V13_5, "13.5", {13, 5, 0}, 3, "iBoot-8422.141.2"},
}; };
int firmware_set_fdt(void *fdt, int node, const char *prop, const struct fw_version_info *ver) int firmware_set_fdt(void *fdt, int node, const char *prop, const struct fw_version_info *ver)

View file

@ -19,6 +19,8 @@ enum fw_version {
V13_1, V13_1,
V13_2, V13_2,
V13_3, V13_3,
V13_5B4,
V13_5,
NUM_FW_VERSIONS, NUM_FW_VERSIONS,
}; };

View file

@ -1275,6 +1275,9 @@ static int dt_set_dcp_firmware(const char *alias)
case V12_4: case V12_4:
compat = &fw_versions[V12_3]; compat = &fw_versions[V12_3];
break; break;
case V13_5B4:
compat = &fw_versions[V13_3];
break;
default: default:
compat = &os_firmware; compat = &os_firmware;
break; break;