mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
imagetool: replace image registration function by linker_lists feature
The registration was introduced in commit f86ed6a8d5
This commit also removes all registration functions, and the member "next"
from image_type_params struct
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
This commit is contained in:
parent
067d156075
commit
a93648d197
18 changed files with 254 additions and 376 deletions
|
@ -694,19 +694,17 @@ static int imximage_generate(struct image_tool_params *params,
|
|||
/*
|
||||
* imximage parameters
|
||||
*/
|
||||
static struct image_type_params imximage_params = {
|
||||
.name = "Freescale i.MX Boot Image support",
|
||||
.header_size = 0,
|
||||
.hdr = NULL,
|
||||
.check_image_type = imximage_check_image_types,
|
||||
.verify_header = imximage_verify_header,
|
||||
.print_header = imximage_print_header,
|
||||
.set_header = imximage_set_header,
|
||||
.check_params = imximage_check_params,
|
||||
.vrec_header = imximage_generate,
|
||||
};
|
||||
|
||||
void init_imx_image_type(void)
|
||||
{
|
||||
register_image_type(&imximage_params);
|
||||
}
|
||||
U_BOOT_IMAGE_TYPE(
|
||||
imximage,
|
||||
"Freescale i.MX Boot Image support",
|
||||
0,
|
||||
NULL,
|
||||
imximage_check_params,
|
||||
imximage_verify_header,
|
||||
imximage_print_header,
|
||||
imximage_set_header,
|
||||
NULL,
|
||||
imximage_check_image_types,
|
||||
NULL,
|
||||
imximage_generate
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue