diff options
author | Tom Rini <trini@konsulko.com> | 2016-08-11 17:45:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-11 17:45:53 +0300 |
commit | 28cd88baa3f11cdb52be3b6d0610dcf32c60871a (patch) | |
tree | 4d6150effe763b043c7e30499c8ec2061df81be1 /arch/arm/mach-uniphier/arm32/cache-uniphier.h | |
parent | 2f1eb66e2881a780e622e7fd50b3a497677fd373 (diff) | |
parent | e8a9293295a1a54f6e43970bed2d3bfd124be02c (diff) | |
download | u-boot-28cd88baa3f11cdb52be3b6d0610dcf32c60871a.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
Diffstat (limited to 'arch/arm/mach-uniphier/arm32/cache-uniphier.h')
-rw-r--r-- | arch/arm/mach-uniphier/arm32/cache-uniphier.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/arm32/cache-uniphier.h b/arch/arm/mach-uniphier/arm32/cache-uniphier.h new file mode 100644 index 0000000000..493d66c189 --- /dev/null +++ b/arch/arm/mach-uniphier/arm32/cache-uniphier.h @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2016 Socionext Inc. + * Author: Masahiro Yamada <yamada.masahiro@socionext.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __CACHE_UNIPHIER_H +#define __CACHE_UNIPHIER_H + +#include <linux/types.h> + +void uniphier_cache_prefetch_range(u32 start, u32 end, u32 ways); +void uniphier_cache_touch_range(u32 start, u32 end, u32 ways); +void uniphier_cache_touch_zero_range(u32 start, u32 end, u32 ways); +void uniphier_cache_inv_way(u32 ways); +void uniphier_cache_set_active_ways(int cpu, u32 active_ways); +void uniphier_cache_enable(void); +void uniphier_cache_disable(void); + +#endif /* __CACHE_UNIPHIER_H */ |