[U-Boot] Commit "ARM: CPU: arm926ejs: Consolidate cache routines to common file" breaks u-boot on Dreamplug

Tom Rini trini at konsulko.com
Thu Feb 28 23:55:41 UTC 2019


On Wed, Feb 27, 2019 at 11:32:16AM +0000, Leigh Brown wrote:

> Hello,
> 
> Vagrant Cascadian asked for people to test the version of u-boot packaged
> for Debian Buster.  I tested u-boot on my Dreamplug and found it was not
> working correctly.  I raised a bug for Debian[1] but I have also tested
> with the mainline version of u-boot and found the same issues.
> 
> The first issue is that the following commit caused u-boot to no longer
> be able to access usb storage on the Dreamplug:
> 
> commit 93b283d49f933f95f3a6f40762936f454ac655a8
> Author: Adam Ford <aford173 at gmail.com>
> Date:   Thu Aug 16 13:23:11 2018 -0500
> 
>     ARM: CPU: arm926ejs: Consolidate cache routines to common file
> 
>     Four different boards had different options for enabling cache
>     that were virtually all the same.  This consolidates these
>     common functions into arch/arm/cpu/arm926ejs/cache.c
> 
>     This also has the positive side-effect of enabling cache on
>     the Davinci (da850) boards.
> 
>     Signed-off-by: Adam Ford <aford173 at gmail.com>
>     [trini: Add mach-at91 to the list of consolidations]
>     Signed-off-by: Tom Rini <trini at konsulko.com>
> 
> I don't have much knowledge of ARM caching, but the following patch makes
> it work again on my Dreamplug.
> 
> diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c
> index d54de53f31..8a065d73ae 100644

Thanks for digging into this.  Based on the whole thread, yes, this
makes sense.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190228/e6c8caab/attachment.sig>


More information about the U-Boot mailing list