]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9035/1: uncompress: Add be32tocpu macro
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 4 Dec 2020 09:37:47 +0000 (10:37 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 21 Dec 2020 11:19:20 +0000 (11:19 +0000)
commit0557ac83fd1a0a7cd6909665bad50006507115a0
tree70093cdb8d9e72d3a05d0e5d1afa528bd334faa6
parent27bde183b0d3b0e8e84c80db1864a5c7bd20b5e7
ARM: 9035/1: uncompress: Add be32tocpu macro

DTB stores all values as 32-bit big-endian integers.
Add a macro to convert such values to native CPU endianness, to reduce
duplication.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/head.S