summaryrefslogtreecommitdiff
path: root/lib/chromeos
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2011-07-26 15:26:10 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:11 -0700
commitd9603d7974197751b46f3acb8a4fc9375fff7049 (patch)
tree0a8838630375a47d9865cc6e64721ed6a174ec2f /lib/chromeos
parent8a3caf04534fa94253d199e2c5bb1ec6eff15863 (diff)
CHROMIUM: Remove use of LOAD_KERNEL_INVALID from u-boot.
The LOAD_KERNEL_INVALID constant was a VBOOT internal constant that has been removed. BUG=None TEST=compiled Change-Id: Id9158ce66c4dbb70eb0a2f8ad59ce2edc3877dd4 Reviewed-on: http://gerrit.chromium.org/gerrit/4764 Reviewed-by: Doug Anderson <dianders@chromium.org> Tested-by: Doug Anderson <dianders@chromium.org>
Diffstat (limited to 'lib/chromeos')
-rw-r--r--lib/chromeos/boot_kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chromeos/boot_kernel.c b/lib/chromeos/boot_kernel.c
index 16cd1dc364..177186d740 100644
--- a/lib/chromeos/boot_kernel.c
+++ b/lib/chromeos/boot_kernel.c
@@ -171,7 +171,7 @@ static void update_cmdline(char *src, int devnum, int partnum, uint8_t *guid,
*
* @param kparams kparams returned from VbSelectAndLoadKernel()
* @param cdata crossystem data pointer
- * @return LOAD_KERNEL_INVALID if it fails to boot; otherwise it never returns
+ * @return non-zero if it fails to boot; otherwise it never returns
* to its caller
*/
int boot_kernel(VbSelectAndLoadKernelParams *kparams, crossystem_data_t *cdata)
@@ -214,7 +214,7 @@ int boot_kernel(VbSelectAndLoadKernelParams *kparams, crossystem_data_t *cdata)
do_bootm(NULL, 0, sizeof(argv)/sizeof(*argv), argv);
VBDEBUG(PREFIX "failed to boot; is kernel broken?\n");
- return LOAD_KERNEL_INVALID;
+ return 1;
}
/*