diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2022-05-31 21:14:32 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-06-24 14:16:00 +0200 |
commit | 10f6508c0728c1a125bead212259b2921702d1b7 (patch) | |
tree | fa775195eed0601d262e2ef86f7082facf2cfdc6 /drivers/core | |
parent | 95b7a8fd128aec8214d13b33131a4ea1fa4cc9a3 (diff) | |
download | u-boot-10f6508c0728c1a125bead212259b2921702d1b7.zip u-boot-10f6508c0728c1a125bead212259b2921702d1b7.tar.gz u-boot-10f6508c0728c1a125bead212259b2921702d1b7.tar.bz2 |
microblaze: cache: introduce flush_dcache_range()
Align microblaze with the other architectures and provide an
implementation for flush_dcache_range(). Also, remove the microblaze
exception in drivers/core/device.c.
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-11-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/core')
-rw-r--r-- | drivers/core/device.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/core/device.c b/drivers/core/device.c index 3ab2583..03155e9 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -328,13 +328,8 @@ static void *alloc_priv(int size, uint flags) * within this range at the start. The driver can then * use normal flush-after-write, invalidate-before-read * procedures. - * - * TODO(sjg@chromium.org): Drop this microblaze - * exception. */ -#ifndef CONFIG_MICROBLAZE flush_dcache_range((ulong)priv, (ulong)priv + size); -#endif } } else { priv = calloc(1, size); |