rockchip: clk: bind reset driver
[oweals/u-boot.git] / tools / rkspi.c
index f8a565d31268d62c6dc8f8f702367b0f6c48ca88..4332ce17652172f7c43a6cb5eb3107791b3bee87 100644 (file)
@@ -63,7 +63,7 @@ static int rkspi_check_image_type(uint8_t type)
 static int rkspi_vrec_header(struct image_tool_params *params,
                             struct image_type_params *tparams)
 {
-       int padding = rkcommon_vrec_header(params, tparams, 2048);
+       int padding = rkcommon_vrec_header(params, tparams, RK_INIT_SIZE_ALIGN);
        /*
         * The file size has not been adjusted at this point (our caller will
         * eventually add the header/padding to the file_size), so we need to