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
This commit is contained in:
Randall Spangler
2010-06-16 12:51:26 -07:00
parent 2a0155663e
commit bd529f05dd
14 changed files with 28 additions and 190 deletions

View File

@@ -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);