diff options
| author | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
|---|---|---|
| committer | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
| commit | 50bd0057ba8fceeb48533f8b1a652ccd0e170838 (patch) | |
| tree | ea1a183343573c2a48248923b96d316c0956727c /board/netta/dsp.c | |
| parent | 9dbc366744960013965fce8851035b6141f3b3ae (diff) | |
| parent | f82642e33899766892499b163e60560fbbf87773 (diff) | |
| download | olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.tar.xz olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.zip | |
Merge git://git.denx.de/u-boot into x1
Conflicts:
	drivers/usb/usb_ohci.c
Diffstat (limited to 'board/netta/dsp.c')
| -rw-r--r-- | board/netta/dsp.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/board/netta/dsp.c b/board/netta/dsp.c index 3739e16d6..cd576476e 100644 --- a/board/netta/dsp.c +++ b/board/netta/dsp.c @@ -95,7 +95,7 @@ static volatile u32 *ti6711_delay = &dummy_delay;  static inline void dsp_go_slow(void)  { -	volatile memctl8xx_t *memctl = &((immap_t *)CFG_IMMR)->im_memctl; +	volatile memctl8xx_t *memctl = &((immap_t *)CONFIG_SYS_IMMR)->im_memctl;  #if defined(CONFIG_NETTA_6412)  	memctl->memc_or6 |= OR_SCY_15_CLK | OR_TRLX;  #else @@ -108,7 +108,7 @@ static inline void dsp_go_slow(void)  static inline void dsp_go_fast(void)  { -	volatile memctl8xx_t *memctl = &((immap_t *)CFG_IMMR)->im_memctl; +	volatile memctl8xx_t *memctl = &((immap_t *)CONFIG_SYS_IMMR)->im_memctl;  #if defined(CONFIG_NETTA_6412)  	memctl->memc_or6 = (memctl->memc_or6 & ~(OR_SCY_15_CLK | OR_TRLX)) | OR_SCY_0_CLK;  #else @@ -148,14 +148,14 @@ static inline void dsp_write_hpic(u16 val)  static inline void dsp_reset(void)  {  #if defined(CONFIG_NETTA_6412) -	((volatile immap_t *)CFG_IMMR)->im_ioport.iop_pddat &= ~(1 << (15 - 15)); +	((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat &= ~(1 << (15 - 15));  	udelay(500); -	((volatile immap_t *)CFG_IMMR)->im_ioport.iop_pddat |=  (1 << (15 - 15)); +	((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat |=  (1 << (15 - 15));  	udelay(500);  #else -	((volatile immap_t *)CFG_IMMR)->im_ioport.iop_pddat &= ~(1 << (15 - 7)); +	((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat &= ~(1 << (15 - 7));  	udelay(250); -	((volatile immap_t *)CFG_IMMR)->im_ioport.iop_pddat |=  (1 << (15 - 7)); +	((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat |=  (1 << (15 - 7));  	udelay(250);  #endif  } |