Skip to content
Snippets Groups Projects
Commit 3400655e authored by Vasili Galka's avatar Vasili Galka Committed by Tom Rini
Browse files

mpc5xxx: Add stub implementation of cache functions


Some drivers (e.g. net/e1000) reference these functions. So, this
fixes the build of MVBC_P board.

I'm not familiar with the MPC5xxx platform, maybe a full
implementation shall be implemented instead of this stub in the
future.

Signed-off-by: default avatarVasili Galka <vvv444@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>, Marek Vasut <marex@denx.de>
Acked-by: default avatarWolfgang Denk <wd@denx.de>
parent a1263632
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
extra-y = start.o extra-y = start.o
extra-y += traps.o extra-y += traps.o
obj-y += cache.o
obj-y += io.o obj-y += io.o
obj-y += firmware_sc_task_bestcomm.impl.o obj-y += firmware_sc_task_bestcomm.impl.o
obj-y += i2c.o obj-y += i2c.o
......
/*
* 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)
{
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment