diff options
author | Randall Spangler <rspangler@chromium.org> | 2010-06-16 12:51:26 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2010-06-16 12:51:26 -0700 |
commit | bd529f05ddc29dd3e08258d0b1007518c2d1a6b2 (patch) | |
tree | e41bc2e47b104dc5604bb47deea4636f1d788fbc /utility/load_kernel_test.c | |
parent | 2a0155663e0213d5b7492c433f8a4edece4db838 (diff) | |
download | vboot-bd529f05ddc29dd3e08258d0b1007518c2d1a6b2.tar.gz |
Move old vkernel code out of vboot_firmware.
It will go away entirely once the build has moved to vboot_kernel.
Review URL: http://codereview.chromium.org/2866006
Diffstat (limited to 'utility/load_kernel_test.c')
-rw-r--r-- | utility/load_kernel_test.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c index 32c02c9a..ebeeb43a 100644 --- a/utility/load_kernel_test.c +++ b/utility/load_kernel_test.c @@ -18,6 +18,7 @@ #include "host_common.h" #include "rollback_index.h" #include "utility.h" +#include "vboot_kernel.h" /* ANSI Color coding sequences. */ #define COL_GREEN "\e[1;32m" @@ -123,8 +124,10 @@ int main(int argc, char* argv[]) { return 1; } - /* TODO: Option for boot mode */ - lkp.boot_flags = 0; + /* 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; /* Call LoadKernel() */ rv = LoadKernel(&lkp); |