/*
- * Copyright (c) 2011 The Chromium OS Authors.
+ * Copyright (c) 2011-2012 The Chromium OS Authors.
* See file CREDITS for list of people who contributed to this
* project.
*
*/
#include <common.h>
+#include <asm/state.h>
int main(int argc, char *argv[])
{
+ int err;
+
+ err = state_init();
+ if (err)
+ return err;
+
/*
* Do pre- and post-relocation init, then start up U-Boot. This will
* never return.