Declare recovery and developer modes outside ChromeOS

Move the implementation for recovery and developer modes from
vendorcode/google/chromes to lib/.

Change-Id: I33335fb282de2c7bc613dc58d6912c47f3b5c06c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4308
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Kyösti Mälkki
2013-11-28 18:11:49 +02:00
parent 580e5642a8
commit 5687fc9d21
10 changed files with 115 additions and 50 deletions

View File

@ -18,6 +18,7 @@
*/
#include <console/console.h>
#include <bootmode.h>
#include <string.h>
#include <arch/hlt.h>
#include <arch/io.h>
@ -31,12 +32,6 @@
#include "pei_data.h"
#include "haswell.h"
#if CONFIG_CHROMEOS
#include <vendorcode/google/chromeos/chromeos.h>
#else
#define recovery_mode_enabled(x) 0
#endif
void save_mrc_data(struct pei_data *pei_data)
{
struct mrc_data_container *mrcdata;