]> git.sur5r.net Git - u-boot/blobdiff - scripts/dtc/libfdt/libfdt.h
libfdt: Bring in proposed pylibfdt changes
[u-boot] / scripts / dtc / libfdt / libfdt.h
index 1e27780e1185666e6586199b4974f4b49112c3af..fd73688f9e9f3e03e7298eb74db50439d5b2ab3d 100644 (file)
@@ -1313,10 +1313,13 @@ static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
        fdt64_t tmp = cpu_to_fdt64(val);
        return fdt_property(fdt, name, &tmp, sizeof(tmp));
 }
+
+#ifndef SWIG /* Not available in Python */
 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
 {
        return fdt_property_u32(fdt, name, val);
 }
+#endif
 
 /**
  * fdt_property_placeholder - add a new property and return a ptr to its value