]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: dts: Add compatible string for Intel ICH9 SPI controller
authorSimon Glass <sjg@chromium.org>
Tue, 20 Jan 2015 05:16:06 +0000 (22:16 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 24 Jan 2015 04:44:59 +0000 (21:44 -0700)
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>
include/fdtdec.h
lib/fdtdec.c

index 75af750ee576174a1e135952cae09e6ed4f3e1ca..8c2bd21b2d2be8de0aeda3104f4724f2d4895229 100644 (file)
@@ -173,6 +173,7 @@ enum fdt_compat_id {
        COMPAT_INTEL_MODEL_206AX,       /* Intel Model 206AX CPU */
        COMPAT_INTEL_GMA,               /* Intel Graphics Media Accelerator */
        COMPAT_AMS_AS3722,              /* AMS AS3722 PMIC */
+       COMPAT_INTEL_ICH_SPI,           /* Intel ICH7/9 SPI controller */
 
        COMPAT_COUNT,
 };
index 487122eebcf64c9129abb60c91e91d328f207f29..e989241b7095269e90d08f3b2fc5550d6e21d605 100644 (file)
@@ -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)