]> git.sur5r.net Git - u-boot/blobdiff - include/splash.h
Suspected Spam: Do not open attachements![PATCH 4/6] tools/env: flash_write_buf:...
[u-boot] / include / splash.h
index f0755ca695f83f643e9aa06b3619096fd4159544..136eac7402465e34488687ccaa9d6d1bbb1b75b6 100644 (file)
@@ -43,9 +43,20 @@ struct splash_location {
        enum splash_flags flags;
        u32 offset;     /* offset from start of storage */
        char *devpart;  /* Use the load command dev:part conventions */
+       char *mtdpart;  /* MTD partition for ubi part */
+       char *ubivol;   /* UBI volume-name for ubifsmount */
 };
 
+#ifdef CONFIG_SPLASH_SOURCE
 int splash_source_load(struct splash_location *locations, uint size);
+#else
+static inline int splash_source_load(struct splash_location *locations,
+                                    uint size)
+{
+       return 0;
+}
+#endif
+
 int splash_screen_prepare(void);
 
 #ifdef CONFIG_SPLASH_SCREEN_ALIGN