X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fpblimage.c;h=d11f9afe24521cb78c2298c31c4700595b76f397;hb=a715415bb5948c84cc44c601b193188990f7238b;hp=ffc3268209d2b3d0542d5f29f69fefc5251cee0e;hpb=5f9518b2e1126b6413bab32a8e3f507e0a89f857;p=u-boot diff --git a/tools/pblimage.c b/tools/pblimage.c index ffc3268209..d11f9afe24 100644 --- a/tools/pblimage.c +++ b/tools/pblimage.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2012-2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include "imagetool.h" #include @@ -293,7 +292,7 @@ int pblimage_check_params(struct image_tool_params *params) pbi_crc_cmd2 = 0; pbl_cmd_initaddr = params->addr & PBL_ADDR_24BIT_MASK; pbl_cmd_initaddr |= PBL_ACS_CONT_CMD; - pbl_cmd_initaddr |= uboot_size; + pbl_cmd_initaddr += uboot_size; pbl_end_cmd[0] = 0x09610000; pbl_end_cmd[1] = 0x00000000; pbl_end_cmd[2] = 0x096100c0;