This patch defines the 2 flush_dcache_range and invalidate_dcache_range functions for all the powerpc architecture. Their implementation is borrowed from the kernel's misc_32.S file and replace the ones from mpc86xx and ppc4xx since they were equivalent. This is a fix for the problem introduced by this patch: http://patchwork.ozlabs.org/patch/448849/ Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <yorksun@freescale.com>master
parent
e8a7f1c32b
commit
ac337168ad
@ -1,17 +0,0 @@ |
|||||||
/*
|
|
||||||
* Copyright (C) 2012 Marek Vasut <marex@denx.de> |
|
||||||
* |
|
||||||
* This file contains stub implementation of |
|
||||||
* invalidate_dcache_range() |
|
||||||
* flush_dcache_range() |
|
||||||
* |
|
||||||
* SPDX-License-Identifier: GPL-2.0+ |
|
||||||
*/ |
|
||||||
|
|
||||||
void invalidate_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
||||||
|
|
||||||
void flush_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
@ -1,15 +0,0 @@ |
|||||||
/*
|
|
||||||
* This file contains stub implementation of |
|
||||||
* invalidate_dcache_range() |
|
||||||
* flush_dcache_range() |
|
||||||
* |
|
||||||
* SPDX-License-Identifier: GPL-2.0+ |
|
||||||
*/ |
|
||||||
|
|
||||||
void invalidate_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
||||||
|
|
||||||
void flush_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
@ -1,17 +0,0 @@ |
|||||||
/*
|
|
||||||
* Copyright (C) 2012 Marek Vasut <marex@denx.de> |
|
||||||
* |
|
||||||
* This file contains stub implementation of |
|
||||||
* invalidate_dcache_range() |
|
||||||
* flush_dcache_range() |
|
||||||
* |
|
||||||
* SPDX-License-Identifier: GPL-2.0+ |
|
||||||
*/ |
|
||||||
|
|
||||||
void invalidate_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
||||||
|
|
||||||
void flush_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
@ -1,17 +0,0 @@ |
|||||||
/*
|
|
||||||
* Copyright (C) 2012 Marek Vasut <marex@denx.de> |
|
||||||
* |
|
||||||
* This file contains stub implementation of |
|
||||||
* invalidate_dcache_range() |
|
||||||
* flush_dcache_range() |
|
||||||
* |
|
||||||
* SPDX-License-Identifier: GPL-2.0+ |
|
||||||
*/ |
|
||||||
|
|
||||||
void invalidate_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
||||||
|
|
||||||
void flush_dcache_range(unsigned long start, unsigned long stop) |
|
||||||
{ |
|
||||||
} |
|
Loading…
Reference in new issue