[PATCH v2 02/21] armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility
Lukasz Majewski
lukma at denx.de
Tue Jan 28 09:10:45 CET 2020
Hi Giulio,
> Since some driver
I would prefer more verbose commit message. Please share which driver
requires this change.
> requires this function add it as an empty stub
> when DCACHE is OFF.
>
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> ---
> arch/arm/cpu/armv7m/cache.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c
> index f4ba3ad50e..7353698557 100644
> --- a/arch/arm/cpu/armv7m/cache.c
> +++ b/arch/arm/cpu/armv7m/cache.c
> @@ -291,6 +291,12 @@ void flush_dcache_all(void)
> void invalidate_dcache_all(void)
> {
> }
> +
> +void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size,
> + enum dcache_option option)
> +{
> +}
> +
> #endif
>
> #if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/ee6478d2/attachment.sig>
More information about the U-Boot
mailing list