commit | b9801045c0bdc2efb3c5b02e3cc86509d93cb92c | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Mar 18 17:22:55 2020 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Thu Mar 26 22:58:46 2020 +0800 |
tree | 3fc81c10c5ec981831bf46e4e5bf17c1039a1c78 | |
parent | fa68d1b3076cf2e8a52d2a2208df267ed1526c63 [diff] |
rockchip: mkimage: Use an existing macro instead of a decimal value 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 <miquel.raynal@bootlin.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>