| 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 * Functions for loading a kernel from disk. | 5 * Functions for loading a kernel from disk. |
| 6 * (Firmware portion) | 6 * (Firmware portion) |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "vboot_kernel.h" | 9 #include "vboot_kernel.h" |
| 10 | 10 |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 /* Success! */ | 370 /* Success! */ |
| 371 return LOAD_KERNEL_SUCCESS; | 371 return LOAD_KERNEL_SUCCESS; |
| 372 } | 372 } |
| 373 | 373 |
| 374 // Handle error cases | 374 // Handle error cases |
| 375 if (found_partitions) | 375 if (found_partitions) |
| 376 return LOAD_KERNEL_INVALID; | 376 return LOAD_KERNEL_INVALID; |
| 377 else | 377 else |
| 378 return LOAD_KERNEL_NOT_FOUND; | 378 return LOAD_KERNEL_NOT_FOUND; |
| 379 } | 379 } |
| OLD | NEW |