diff options
Diffstat (limited to 'roms/u-boot/examples/standalone/test_burst.h')
-rw-r--r-- | roms/u-boot/examples/standalone/test_burst.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roms/u-boot/examples/standalone/test_burst.h b/roms/u-boot/examples/standalone/test_burst.h new file mode 100644 index 00000000..87f5927a --- /dev/null +++ b/roms/u-boot/examples/standalone/test_burst.h @@ -0,0 +1,22 @@ +/* + * (C) Copyright 2005 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _TEST_BURST_H +#define _TEST_BURST_H + +/* Cache line size */ +#define CACHE_LINE_SIZE 16 +/* Binary logarithm of the cache line size */ +#define LG_CACHE_LINE_SIZE 4 + +#ifndef __ASSEMBLY__ +extern void mmu_init(void); +extern void caches_init(void); +extern void flush_dcache_range(unsigned long start, unsigned long stop); +#endif + +#endif /* _TEST_BURST_H */ |