summaryrefslogtreecommitdiff
path: root/src/mainboard/google/falco/chromeos.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-06-03 10:45:08 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-03 01:24:59 +0100
commit6a805905cb5737108260174d422b52a5641fc2ff (patch)
tree76fe9d248c41f106c8c191b0bc99b2649288c67f /src/mainboard/google/falco/chromeos.c
parentb1b9c93f7c4deb1db7eccfe001d8ef146052d3eb (diff)
downloadcoreboot-6a805905cb5737108260174d422b52a5641fc2ff.tar.xz
haswell boards: Enable VIRTUAL_DEV_SWITCH
This config option was not enabled which was preventing the user from enabling developer mode from recovery mode. With this enabled we can disable the "dev mode by default" behavior and let people enable it by entering recovery mode. This will make the firmware behave like a typical chromeos device. Peppy is left in "default dev mode" until after bringup. 1) boot slippy in normal mode by default 2) enter recovery mode with servo button 3) Ctrl+D on USB keyboard to enter developer mode 4) boot slippy in developer mode Change-Id: I414c0d10dd0489e3c89798f75a2872a43297c8d8 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/57350 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4220 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/google/falco/chromeos.c')
-rw-r--r--src/mainboard/google/falco/chromeos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/falco/chromeos.c b/src/mainboard/google/falco/chromeos.c
index 1b70fdeafc..51d625b82c 100644
--- a/src/mainboard/google/falco/chromeos.c
+++ b/src/mainboard/google/falco/chromeos.c
@@ -83,7 +83,7 @@ void fill_lb_gpios(struct lb_gpios *gpios)
/* The dev-switch is virtual */
int get_developer_mode_switch(void)
{
- return 1;
+ return 0;
}
/* There are actually two recovery switches. One is the magic keyboard chord,