fdtdec: Add compatible id and string for Intel Quark MRC
authorBin Meng <bmeng.cn@gmail.com>
Thu, 5 Feb 2015 15:42:26 +0000 (23:42 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 19:07:43 +0000 (12:07 -0700)
Add COMPAT_INTEL_QRK_MRC and "intel,quark-mrc" so that fdtdec can
decode Intel Quark MRC node.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h
lib/fdtdec.c

index 231eed789273800fb3daf14913ae84b07d65a6c9..1bc70dba213b603bfdd72cb266b151869b88d67b 100644 (file)
@@ -167,6 +167,7 @@ enum fdt_compat_id {
        COMPAT_INTEL_GMA,               /* Intel Graphics Media Accelerator */
        COMPAT_AMS_AS3722,              /* AMS AS3722 PMIC */
        COMPAT_INTEL_ICH_SPI,           /* Intel ICH7/9 SPI controller */
+       COMPAT_INTEL_QRK_MRC,           /* Intel Quark MRC */
 
        COMPAT_COUNT,
 };
index 5bf8f29b13e92fbfcb9f0d83132e0e6ac987d0e2..dd58bbb482fe996a9190c3e3c870e668fcc594ed 100644 (file)
@@ -75,6 +75,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
        COMPAT(INTEL_GMA, "intel,gma"),
        COMPAT(AMS_AS3722, "ams,as3722"),
        COMPAT(INTEL_ICH_SPI, "intel,ich-spi"),
+       COMPAT(INTEL_QRK_MRC, "intel,quark-mrc"),
 };
 
 const char *fdtdec_get_compatible(enum fdt_compat_id id)