projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master'
[oweals/u-boot.git]
/
arch
/
avr32
/
lib
/
board.c
diff --git
a/arch/avr32/lib/board.c
b/arch/avr32/lib/board.c
index 28c2ec09efdf705ad241e6fefc74a189aabdb622..bf0997f98dc3802626418d190bb3cec2e165992c 100644
(file)
--- a/
arch/avr32/lib/board.c
+++ b/
arch/avr32/lib/board.c
@@
-65,8
+65,8
@@
static void dma_alloc_init(void)
printf("DMA: Using memory from 0x%08lx to 0x%08lx\n",
dma_alloc_start, dma_alloc_end);
printf("DMA: Using memory from 0x%08lx to 0x%08lx\n",
dma_alloc_start, dma_alloc_end);
-
dcache_invalidate_range(
cached(dma_alloc_start),
- dma_alloc_end
- dma_alloc_start
);
+
invalidate_dcache_range((unsigned long)
cached(dma_alloc_start),
+ dma_alloc_end);
}
void *dma_alloc_coherent(size_t len, unsigned long *handle)
}
void *dma_alloc_coherent(size_t len, unsigned long *handle)
@@
-220,7
+220,6
@@
void board_init_f(ulong board_type)
*/
bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
bd->bi_dram[0].size = sdram_size;
*/
bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
bd->bi_dram[0].size = sdram_size;
- bd->bi_baudrate = gd->baudrate;
memcpy(new_gd, gd, sizeof(gd_t));
memcpy(new_gd, gd, sizeof(gd_t));