Lines Matching refs:sp_layout
116 def check_max_sps(sp_layout, _, args :dict): argument
118 if len(sp_layout.keys()) > MAX_SP:
123 def gen_fdt_sources(sp_layout, sp, args :dict): argument
125 manifest_path = get_sp_manifest_full_path(sp_layout[sp], args)
130 def gen_sptool_args(sp_layout, sp, args :dict): argument
133 sp_dtb_name = os.path.basename(get_file_from_layout(sp_layout[sp]["pm"]))[:-1] + "b"
142 pm_offset = get_pm_offset(sp_layout[sp])
144 image_offset = get_image_offset(sp_layout[sp])
156 def check_dualroot(sp_layout, _, args :dict): argument
161 owners = [sp_layout[sp].get("owner") for sp in sp_layout]
164 args["sip_max_count"] = len(sp_layout.keys()) - args["plat_max_count"]
173 def gen_crt_args(sp_layout, sp, args :dict): argument
179 if sp_layout[sp].get("owner") == "Plat":
190 sp_pkg_idx = [k for k in sp_layout.keys()].index(sp) + 1
195 def gen_fiptool_args(sp_layout, sp, args :dict): argument
197 if "uuid" in sp_layout[sp]:
199 uuid_std = uuid.UUID(sp_layout[sp]['uuid'])
201 with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as pm_f:
218 sp_layout = json.load(json_file)
228 return args, sp_layout
231 args, sp_layout = init_sp_actions(sys) variable
232 SpSetupActions.run_actions(sp_layout, args)