summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
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/fdtdec.c
parent2ab83f0d7522e34f6a67e6ed80f7ba03aa7c8dd6 (diff)
downloadu-boot-imx-df93d90aea85deff0b19ece43ba6f379c7c4d9cc.zip
u-boot-imx-df93d90aea85deff0b19ece43ba6f379c7c4d9cc.tar.gz
u-boot-imx-df93d90aea85deff0b19ece43ba6f379c7c4d9cc.tar.bz2
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/fdtdec.c')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index c54d97b..e0b8927 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)