diff options
| author | Wolfgang Denk <wd@denx.de> | 2009-12-15 23:38:34 +0100 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2009-12-15 23:38:34 +0100 | 
| commit | bb3bcfa2426cc6a0aecec7270e3ee67ca843a125 (patch) | |
| tree | 0314e3d8e8d9e4d568a496fca27db33d66e68bb4 /include/common.h | |
| parent | a200a7c04d89853d2a1395b96d8ca5e3dd754551 (diff) | |
| parent | 4b142febff71eabdb7ddbb125c7b583b24ddc434 (diff) | |
| download | olio-uboot-2014.01-bb3bcfa2426cc6a0aecec7270e3ee67ca843a125.tar.xz olio-uboot-2014.01-bb3bcfa2426cc6a0aecec7270e3ee67ca843a125.zip | |
Merge branch 'next' of ../next
Diffstat (limited to 'include/common.h')
| -rw-r--r-- | include/common.h | 15 | 
1 files changed, 10 insertions, 5 deletions
| diff --git a/include/common.h b/include/common.h index f7c93bf5a..00b543408 100644 --- a/include/common.h +++ b/include/common.h @@ -107,6 +107,9 @@ typedef volatile unsigned char	vu_char;  #ifdef CONFIG_BLACKFIN  #include <asm/blackfin.h>  #endif +#ifdef CONFIG_SOC_DA8XX +#include <asm/arch/hardware.h> +#endif  #include <part.h>  #include <flash.h> @@ -495,8 +498,9 @@ int	prt_mpc8220_clks (void);  ulong	get_OPB_freq (void);  ulong	get_PCI_freq (void);  #endif -#if defined(CONFIG_S3C2400) || defined(CONFIG_S3C2410) || \ -	defined(CONFIG_LH7A40X) || defined(CONFIG_S3C6400) +#if defined(CONFIG_S3C24X0) || \ +    defined(CONFIG_LH7A40X) || \ +    defined(CONFIG_S3C6400)  ulong	get_FCLK (void);  ulong	get_HCLK (void);  ulong	get_PCLK (void); @@ -603,16 +607,17 @@ unsigned long long get_ticks(void);  void	wait_ticks    (unsigned long);  /* lib_$(ARCH)/time.c */ -void	udelay	      (unsigned long); +void	__udelay      (unsigned long);  ulong	usec2ticks    (unsigned long usec);  ulong	ticks2usec    (unsigned long ticks);  int	init_timebase (void); +/* lib_generic/time.c */ +void	udelay        (unsigned long); +  /* lib_generic/vsprintf.c */  ulong	simple_strtoul(const char *cp,char **endp,unsigned int base); -#ifdef CONFIG_SYS_64BIT_VSPRINTF  unsigned long long	simple_strtoull(const char *cp,char **endp,unsigned int base); -#endif  long	simple_strtol(const char *cp,char **endp,unsigned int base);  void	panic(const char *fmt, ...)  		__attribute__ ((format (__printf__, 1, 2))); |