summaryrefslogtreecommitdiff
path: root/host/include
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2012-04-20 10:53:40 -0700
committerGerrit <chrome-bot@google.com>2012-04-20 15:40:36 -0700
commitfcec9e7c4b2b4a041c0a85b6d999c618ec595c57 (patch)
treed1c2cb14fc3a749b4236d5e10b58389c2a983caa /host/include
parentbeb3be1c0b1da8711685b9c4a86cee974d6a452a (diff)
downloadvboot-fcec9e7c4b2b4a041c0a85b6d999c618ec595c57.tar.gz
crossystem: introduce a new main firmware type, 'netboot'
We need to be able to tell when a ChromeOS machine was brought up using netboot. This condition will be communicated from firmware using the BINF.3 ACPI object (upcoming u-boot change). BUG=chrome-os-partner:7952 TEST=manual . boot a ChromeOS machine using the updated firmware and examine the main firmware type reported by crossystem: localhost ~ # echo $(/var/crossystem mainfw_type) netboot Change-Id: I35b10f41eb1f928a122c384d0179c9027f263acd Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/20707 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'host/include')
-rw-r--r--host/include/crossystem_arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/include/crossystem_arch.h b/host/include/crossystem_arch.h
index fbef9b19..be6b5439 100644
--- a/host/include/crossystem_arch.h
+++ b/host/include/crossystem_arch.h
@@ -18,6 +18,7 @@
#define BINF3_RECOVERY 0
#define BINF3_NORMAL 1
#define BINF3_DEVELOPER 2
+#define BINF3_NETBOOT 3
/* INTERNAL APIS FOR CROSSYSTEM AVAILABLE TO ARCH-SPECIFIC FUNCTIONS */