]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: fsl-layerscape: make icid setup endianness aware
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 30 Jul 2019 14:29:57 +0000 (17:29 +0300)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
commit760cfdde9ec7503a89f9f00ab324be958a4294e6
tree7dcfb1c5f8418120183dba9542a29eb74cb5f9e8
parent6234b0b1db33d397352b3ee255476621919c8c17
armv8: fsl-layerscape: make icid setup endianness aware

The current implementation assumes that the registers holding the ICIDs
are universally big endian. That's no longer the case on newer
platforms so update the code to take into account the endianness of
each register.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/icid.c
arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h