Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[oweals/u-boot.git] / tools / rkimage.c
index 7b292f4235d1f43216c933cc5260b615bb73fbb0..73634e316bc7ff1955707b7ab421b4adf4010eca 100644 (file)
@@ -30,7 +30,7 @@ static void rkimage_print_header(const void *buf)
 static void rkimage_set_header(void *buf, struct stat *sbuf, int ifd,
                               struct image_tool_params *params)
 {
-       memcpy(buf, "RK32", 4);
+       memcpy(buf, CONFIG_ROCKCHIP_SPL_HDR, 4);
 }
 
 static int rkimage_extract_subimage(void *buf, struct image_tool_params *params)