summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib/glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/uboot/lib/glue.h')
-rw-r--r--sys/boot/uboot/lib/glue.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/boot/uboot/lib/glue.h b/sys/boot/uboot/lib/glue.h
index b079415..a7d0868 100644
--- a/sys/boot/uboot/lib/glue.h
+++ b/sys/boot/uboot/lib/glue.h
@@ -52,7 +52,7 @@ void ub_putc(char c);
void ub_puts(const char *s);
/* system */
-void ub_reset(void);
+void ub_reset(void);
struct sys_info * ub_get_sys_info(void);
/* time */
@@ -60,18 +60,18 @@ void ub_udelay(unsigned long);
unsigned long ub_get_timer(unsigned long);
/* env vars */
-char * ub_env_get(const char *name);
-void ub_env_set(const char *name, char *value);
+char * ub_env_get(const char *name);
+void ub_env_set(const char *name, char *value);
const char * ub_env_enum(const char *last);
/* devices */
-int ub_dev_enum(void);
-int ub_dev_open(int handle);
-int ub_dev_close(int handle);
-int ub_dev_read(int handle, void *buf,
- lbasize_t len, lbastart_t start);
-int ub_dev_send(int handle, void *buf, int len);
-int ub_dev_recv(int handle, void *buf, int len);
+int ub_dev_enum(void);
+int ub_dev_open(int handle);
+int ub_dev_close(int handle);
+int ub_dev_read(int handle, void *buf, lbasize_t len, lbastart_t start);
+int ub_dev_send(int handle, void *buf, int len);
+int ub_dev_recv(int handle, void *buf, int len);
+
struct device_info * ub_dev_get(int);
#endif /* _API_GLUE_H_ */
OpenPOWER on IntegriCloud