add mapping for loader in image signing (synonymous with baremetal)

This commit is contained in:
bunnie 2025-09-29 13:51:58 +08:00
parent 8dff74a017
commit a9112a743a

View file

@ -203,6 +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("kernel") => FunctionCode::Kernel,
_ => FunctionCode::Developer,
};