Re: [PATCH] rockchip: mkimage: Use an existing macro instead of a decimal value

2020-03-22 Thread Kever Yang
On 2020/3/19 上午12:22, Miquel Raynal wrote: Depending on the SoC, a header of four characters is prepended to the image. There is already a macro defining the number of characters: RK_SPL_HDR_SIZE, so use it instead of hardcoding "4". Signed-off-by: Miquel Raynal Reviewed-by: Kever Yang

[PATCH] rockchip: mkimage: Use an existing macro instead of a decimal value

2020-03-18 Thread Miquel Raynal
Depending on the SoC, a header of four characters is prepended to the image. There is already a macro defining the number of characters: RK_SPL_HDR_SIZE, so use it instead of hardcoding "4". Signed-off-by: Miquel Raynal --- tools/rkcommon.c | 6 -- 1 file changed, 4 insertions(+), 2