summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-19 22:16:06 -0700
committerSimon Glass <sjg@chromium.org>2015-01-23 21:44:59 -0700
commit5da38086bd6c39efd09e57900702b99541844339 (patch)
tree1253ba18dce4a69b0a5247b9283e87ce106925fa /lib/fdtdec.c
parent053b86e6d8e50359412e626c33bae3f7bafd74dd (diff)
x86: dts: Add compatible string for Intel ICH9 SPI controller
Add this to the enum so that we can use the various fdtdec functions. A later commit will move this driver to driver model. 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 487122eebc..e989241b70 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -83,6 +83,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(INTEL_MODEL_206AX, "intel,model-206ax"),
COMPAT(INTEL_GMA, "intel,gma"),
COMPAT(AMS_AS3722, "ams,as3722"),
+ COMPAT(INTEL_ICH_SPI, "intel,ich-spi"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)