OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 * | 4 * |
5 * TEMPORARY stub for calling LoadFirmware() which looks like the old | 5 * TEMPORARY stub for calling LoadFirmware() which looks like the old |
6 * VerifyFirmwareDriver_f() call. | 6 * VerifyFirmwareDriver_f() call. |
7 * (Firmware portion) | 7 * (Firmware portion) |
8 */ | 8 */ |
9 | 9 |
10 #include "load_firmware_fw.h" | 10 #include "load_firmware_fw.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 * p.kernel_sign_key_size SO YOU CAN PASS THEM TO LoadKernel(). */ | 95 * p.kernel_sign_key_size SO YOU CAN PASS THEM TO LoadKernel(). */ |
96 | 96 |
97 return (0 == p.firmware_index ? BOOT_FIRMWARE_A_CONTINUE : | 97 return (0 == p.firmware_index ? BOOT_FIRMWARE_A_CONTINUE : |
98 BOOT_FIRMWARE_B_CONTINUE); | 98 BOOT_FIRMWARE_B_CONTINUE); |
99 | 99 |
100 } else { | 100 } else { |
101 /* Error */ | 101 /* Error */ |
102 return BOOT_FIRMWARE_RECOVERY_CONTINUE; | 102 return BOOT_FIRMWARE_RECOVERY_CONTINUE; |
103 } | 103 } |
104 } | 104 } |
OLD | NEW |