Commit fa291948 authored by Simon Glass's avatar Simon Glass
Browse files

cros: Drop force-legacy code



vb2_nv_regen_crc() is not exported by vboot by default. Drop this code for
now.

Change-Id: I589c375c732139d2a878f2cadb1563e0f28e7415
Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 42c504e1
......@@ -89,11 +89,12 @@ int vboot_ver_init(struct vboot_info *vboot)
if (ret)
return log_msg_ret("Cannot read nvdata", ret);
#if 0
/* Force legacy mode */
ctx->nvdata[VB2_NV_OFFS_HEADER] = VB2_NV_HEADER_SIGNATURE_V1;
ctx->nvdata[VB2_NV_OFFS_DEV] |= VB2_NV_DEV_FLAG_LEGACY;
vb2_nv_regen_crc(ctx);
#endif
print_buffer(0, ctx->nvdata, 1, sizeof(ctx->nvdata), 0);
ret = cros_ofnode_flashmap(&vboot->fmap);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment