[PATCH] arm: mvebu: Avoid reading MVEBU_REG_PCIE_DEVID register too many times

Marek Behún kabel at kernel.org
Fri Jul 15 10:44:26 CEST 2022


On Fri, 15 Jul 2022 10:13:12 +0200
Pali Rohár <pali at kernel.org> wrote:

> Change detection of platform/cpu from runtime to compile time via config
> define. This completely eliminates compiling code which is not going to run
> on selected platform. Code which parses and prints device / revision id
> still reads device id from MVEBU_REG_PCIE_DEVID register, but only once.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Acked-by: Marek Behún <kabel at kernel.org>


More information about the U-Boot mailing list