]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: Exercise v7_arch_cp15_set_acr even without errata fixups
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sun, 13 Aug 2017 02:25:20 +0000 (05:25 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 9 Jan 2018 20:31:14 +0000 (15:31 -0500)
commitd852600ef073205b1fa3e5b9539b15f2760ee164
tree9306ca35035f9e7c9d3fc5ab4eac2850d1f1ce33
parent98691a60abffb44303d7dae6e9e699d0daded930
arm: Exercise v7_arch_cp15_set_acr even without errata fixups

By applying this patch, we are ensuring that the code paths
responsible for applying errata workarounds are also exercised
on CPU revisions, which actually don't need these workarounds.

Only CONFIG_ARM_ERRATA_621766, CONFIG_ARM_ERRATA_454179,
CONFIG_ARM_ERRATA_725233 and CONFIG_ARM_ERRATA_430973 are
covered by this patch (Cortex-A8).

This improves code coverage when testing U-Boot builds
on newer hardware. In particular, the problematic commit
00bbe96ebabb ("arm: omap: Unify get_device_type() function")
would break both BeageBoard and BeagleBoard XM rather than
just older BeagleBoard.

As an additional bonus, we need fewer instructins and the SPL
size is reduced.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/start.S