[U-Boot] [PATCH 10/11] armv7: Adding cpu specific cache managmenent
Tom Rini
trini at ti.com
Mon Jun 18 19:56:57 CEST 2012
On Mon, Jun 18, 2012 at 10:35:43AM -0600, mathieu.poirier at linaro.org wrote:
> diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c
> index c6fa8ef..53c8baf 100644
> --- a/arch/arm/cpu/armv7/cpu.c
> +++ b/arch/arm/cpu/armv7/cpu.c
> @@ -44,6 +44,10 @@ void save_boot_params_default(u32 r0, u32 r1, u32 r2, u32 r3)
> void save_boot_params(u32 r0, u32 r1, u32 r2, u32 r3)
> __attribute__((weak, alias("save_boot_params_default")));
>
> +void __cpu_cache_management(void){}
> +void cpu_cache_management(void) __attribute__((weak,
> + alias("__cpu_cache_management")));
> +
Use <linux/compiler.h> and void __weak cpu_cache_management(void) {}
--
Tom
More information about the U-Boot
mailing list