summaryrefslogtreecommitdiff
path: root/include/samsung/misc.h
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-13 13:30:54 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-13 13:30:54 +0100
commitd53ccdb341cf16e32c0ca2d6099b194d9572fe0c (patch)
tree1ef7ca4c54463e02d0da5f6351ac5bebc5418c76 /include/samsung/misc.h
parent7bc5c8c93032a7b86e268a172955e15b84f1aac3 (diff)
parente25bfecf7ba54a5b56cf991af8a2f2bb22994293 (diff)
downloadu-boot-imx-d53ccdb341cf16e32c0ca2d6099b194d9572fe0c.zip
u-boot-imx-d53ccdb341cf16e32c0ca2d6099b194d9572fe0c.tar.gz
u-boot-imx-d53ccdb341cf16e32c0ca2d6099b194d9572fe0c.tar.bz2
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
Diffstat (limited to 'include/samsung/misc.h')
-rw-r--r--include/samsung/misc.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/samsung/misc.h b/include/samsung/misc.h
new file mode 100644
index 0000000..ede6c15
--- /dev/null
+++ b/include/samsung/misc.h
@@ -0,0 +1,29 @@
+#ifndef __SAMSUNG_MISC_COMMON_H__
+#define __SAMSUNG_MISC_COMMON_H__
+
+#ifdef CONFIG_REVISION_TAG
+u32 get_board_rev(void);
+#endif
+
+#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
+void set_board_info(void);
+#endif
+
+#ifdef CONFIG_LCD_MENU
+enum {
+ BOOT_MODE_INFO,
+ BOOT_MODE_THOR,
+ BOOT_MODE_UMS,
+ BOOT_MODE_DFU,
+ BOOT_MODE_EXIT,
+};
+
+void keys_init(void);
+void check_boot_mode(void);
+#endif /* CONFIG_LCD_MENU */
+
+#ifdef CONFIG_CMD_BMP
+void draw_logo(void);
+#endif
+
+#endif /* __SAMSUNG_MISC_COMMON_H__ */