Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1256)

Unified Diff: vboot_firmware/lib/load_firmware_fw.c

Issue 2835006: Remove old firmware verification code (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vboot_firmware/lib/include/vboot_firmware.h ('k') | vboot_firmware/lib/vboot_firmware.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vboot_firmware/lib/load_firmware_fw.c
diff --git a/vboot_firmware/lib/load_firmware_fw.c b/vboot_firmware/lib/load_firmware_fw.c
deleted file mode 100644
index 0b0bf5e96d4ffa75c174a33a410bf9835aa2e6ea..0000000000000000000000000000000000000000
--- a/vboot_firmware/lib/load_firmware_fw.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- *
- * High-level firmware API for loading and verifying rewritable firmware.
- * (Firmware portion)
- */
-
-#include "load_firmware_fw.h"
-
-#include "firmware_image_fw.h"
-#include "utility.h"
-
-
-static const char kFakeKernelBlob[2088] = "Fake kernel sign key blob";
-
-
-int LoadFirmware(LoadFirmwareParams* params) {
- /* TODO: real implementation! This is now sufficiently broken due
- * to refactoring that we'll just trust firmware A. */
- Memcpy(params->kernel_sign_key_blob, kFakeKernelBlob,
- sizeof(kFakeKernelBlob));
- params->kernel_sign_key_size = sizeof(kFakeKernelBlob);
- params->firmware_index = 0;
- return LOAD_FIRMWARE_SUCCESS;
-}
« no previous file with comments | « vboot_firmware/lib/include/vboot_firmware.h ('k') | vboot_firmware/lib/vboot_firmware.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698