From d9603d7974197751b46f3acb8a4fc9375fff7049 Mon Sep 17 00:00:00 2001 From: Doug Anderson Date: Tue, 26 Jul 2011 15:26:10 -0700 Subject: 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 Tested-by: Doug Anderson --- lib/chromeos/boot_kernel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/chromeos') 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; } /* -- cgit v1.2.3