fix loader function code mapping

This commit is contained in:
bunnie 2025-10-01 14:55:19 +08:00
parent e77d412bad
commit f8c92c4c23

View file

@ -203,7 +203,7 @@ pub fn sign_image(
let function_code = match function_code {
Some("boot0") => FunctionCode::Boot0,
Some("boot1") => FunctionCode::Boot1,
Some("loader") => FunctionCode::Boot1,
Some("loader") => FunctionCode::Loader,
Some("kernel") => FunctionCode::Kernel,
_ => FunctionCode::Developer,
};