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

Unified Diff: src/platform/vboot_reference/vboot_firmware/include/kernel_image_fw.h

Issue 2584001: Remove obsolete VerifyKernelDriver() and associated data structures. (Closed) Base URL: ssh://git@gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 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
Index: src/platform/vboot_reference/vboot_firmware/include/kernel_image_fw.h
diff --git a/src/platform/vboot_reference/vboot_firmware/include/kernel_image_fw.h b/src/platform/vboot_reference/vboot_firmware/include/kernel_image_fw.h
index a1a3ba55db447c17ae7c413cbe58e6d435a3c178..4cd53d2a405750b637b3f51c7cca9c9ab658736a 100644
--- a/src/platform/vboot_reference/vboot_firmware/include/kernel_image_fw.h
+++ b/src/platform/vboot_reference/vboot_firmware/include/kernel_image_fw.h
@@ -164,38 +164,4 @@ int VerifyKernel(const uint8_t* signing_key_blob,
* (kernel_key_version << 16 | kernel_version). */
uint32_t GetLogicalKernelVersion(uint8_t* kernel_blob);
-#define BOOT_KERNEL_A_CONTINUE 1
-#define BOOT_KERNEL_B_CONTINUE 2
-#define BOOT_KERNEL_RECOVERY_CONTINUE 3
-
-/* Contains information about the kernel paritition
- * gleaned from the GPT partition table.
- *
- * Based on the Chromium OS Drive Map design document by
- * rspangler@chromium.org.
- *
-*/
-typedef struct kernel_entry {
- uint8_t* kernel_blob; /* Pointer to actual kernel. */
- uint8_t boot_priority; /* 15 = highest, 1 = lowest, 0 = not bootable. */
- uint8_t boot_tries_remaining; /* Used when boot_priority = 0. */
- uint8_t boot_success_flag; /* Set to 1 on successful boot by AU. */
-} kernel_entry;
-
-/* This function is the driver used by the RW firmware to
- * determine which copy of the kernel to boot from. It performs
- * the requisite priority and remaining tries checking for a specific
- * kernel partition, does rollback index checking, including updating
- * if required.
- *
- * Returns the code path to follow. It is one of:
- * BOOT_KERNEL_A_CONTINUE Boot from Kenrel A
- * BOOT_KERNEL_B_CONTINUE Boot from Kernel B
- * BOOT_KERNEL_RECOVERY_CONTINUE Jump to recovery mode
- */
-int VerifyKernelDriver_f(uint8_t* firmware_key_blob,
- kernel_entry* kernelA,
- kernel_entry* kernelB,
- int dev_mode);
-
#endif /* VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ */

Powered by Google App Engine
This is Rietveld 408576698