summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-02-27 13:26:12 -0700
committerSimon Glass <sjg@chromium.org>2014-03-17 20:05:47 -0600
commitdf93d90aea85deff0b19ece43ba6f379c7c4d9cc (patch)
treeb34d47fe922a6479a034ce25ba801c55dcd01aad /lib
parent2ab83f0d7522e34f6a67e6ed80f7ba03aa7c8dd6 (diff)
downloadtalos-obmc-uboot-df93d90aea85deff0b19ece43ba6f379c7c4d9cc.tar.gz
talos-obmc-uboot-df93d90aea85deff0b19ece43ba6f379c7c4d9cc.zip
cros_ec: sandbox: Add Chrome OS EC emulation
Add a simple emulation of the Chrome OS EC for sandbox, so that it can perform various EC tasks such as keyboard handling. Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index c54d97b893..e0b8927ac8 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -61,6 +61,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"),
COMPAT(INFINEON_SLB9645_TPM, "infineon,slb9645-tpm"),
COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
+ COMPAT(SANDBOX_HOST_EMULATION, "sandbox,host-emulation"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)
OpenPOWER on IntegriCloud