Commit d3f36ae0 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Eric Biggers
Browse files

UPSTREAM: 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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
Reviewed-by: default avatarNicolas Pitre <nico@fluxnic.net>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>

(cherry picked from commit 0557ac83)
Bug: 178411248
Change-Id: I0807f36352dbfd5f5808959e358a7469dc9753bb
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent f72dbece
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment