diff options
Diffstat (limited to 'include/common.h')
| -rw-r--r-- | include/common.h | 11 | 
1 files changed, 7 insertions, 4 deletions
| diff --git a/include/common.h b/include/common.h index 157279122..12a10741b 100644 --- a/include/common.h +++ b/include/common.h @@ -222,6 +222,9 @@ typedef void (interrupt_handler_t)(void *);  void	hang		(void) __attribute__ ((noreturn)); +int	timer_init(void); +int	cpu_init(void); +  /* */  phys_size_t initdram (int);  int	display_options (void); @@ -262,13 +265,13 @@ void	doc_probe(unsigned long physadr);  int	env_init     (void);  void	env_relocate (void);  int	envmatch     (uchar *, int); -char	*getenv	     (char *); -int	getenv_f     (char *name, char *buf, unsigned len); +char	*getenv	     (const char *); +int	getenv_f     (const char *name, char *buf, unsigned len);  int	saveenv	     (void);  #ifdef CONFIG_PPC		/* ARM version to be fixed! */ -int inline setenv   (char *, char *); +int inline setenv    (const char *, const char *);  #else -int	setenv	     (char *, char *); +int	setenv	     (const char *, const char *);  #endif /* CONFIG_PPC */  #ifdef CONFIG_ARM  # include <asm/mach-types.h> |