From 783e64e70e5e5fff6d374b6aaf1d0ccd68cb2404 Mon Sep 17 00:00:00 2001 From: Louis Yung-Chieh Lo Date: Mon, 5 Jul 2010 13:06:19 +0800 Subject: [PATCH] load_kernel_test tests the recovery image now (submit for Bill) See original CL here: http://codereview.chromium.org/2803033/show Review URL: http://codereview.chromium.org/2830038 --- utility/load_kernel_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c index 83cc60c4af..1f44857902 100644 --- a/utility/load_kernel_test.c +++ b/utility/load_kernel_test.c @@ -121,7 +121,7 @@ int main(int argc, char* argv[]) { /* TODO: Option for boot mode - developer, recovery */ /* Need to skip the address check, since we're putting it somewhere on the * heap instead of its actual target address in the firmware. */ - lkp.boot_flags = BOOT_FLAG_SKIP_ADDR_CHECK; + lkp.boot_flags = BOOT_FLAG_SKIP_ADDR_CHECK | BOOT_FLAG_RECOVERY; /* Call LoadKernel() */ rv = LoadKernel(&lkp); @@ -135,5 +135,5 @@ int main(int argc, char* argv[]) { fclose(image_file); Free(lkp.kernel_buffer); - return 0; + return rv != LOAD_KERNEL_SUCCESS; }